Build Information
Failed to build SwiftUIAdvancedMap, reference 0.0.5 (eab9ef), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 22:58:10 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 SwiftUIAdvancedMap -destination generic/platform=watchOSBuild Log
146 | shouldGestureRecognizerBegin(gesture: gestureRecognizer)
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:149:60: error: 'UIGestureRecognizer' is unavailable in watchOS
147 | }
148 |
149 | @objc public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
150 | // Without this a long tap/click gesture will only work on every other attempt.
151 | if gestureRecognizer is UILongPressGestureRecognizer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:149:130: error: 'UIGestureRecognizer' is unavailable in watchOS
147 | }
148 |
149 | @objc public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
150 | // Without this a long tap/click gesture will only work on every other attempt.
151 | if gestureRecognizer is UILongPressGestureRecognizer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:136:24: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
134 | }
135 | #else
136 | extension Coordinator: UIGestureRecognizerDelegate {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
137 | @objc func didTapOnMap(gesture: UITapGestureRecognizer) {
138 | didTapOrClickOnMap(gesture: gesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/OverlayRendererFactory.swift:8:50: error: 'MKOverlayRenderer' is unavailable in watchOS
6 | public struct OverlayRendererFactory {
7 | /// - Parameter renderer: A closure that returns optional render for provided overlay.
8 | public init(renderer: @escaping (MKOverlay) -> MKOverlayRenderer?) {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
9 | self.renderer = renderer
10 | }
/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/AdvancedMap/OverlayRendererFactory.swift:12:32: error: 'MKOverlayRenderer' is unavailable in watchOS
10 | }
11 |
12 | var renderer: (MKOverlay) -> MKOverlayRenderer?
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
13 |
14 | 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/AdvancedMap/OverlayRendererFactory.swift:14:45: error: 'MKOverlayRenderer' is unavailable in watchOS
12 | var renderer: (MKOverlay) -> MKOverlayRenderer?
13 |
14 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
15 | renderer(overlay)
16 | }
/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/AdvancedMap/OverlayRendererFactory.swift:57:40: error: 'MKOverlayRenderer' is unavailable in watchOS
55 | public static func factory<Overlay>(
56 | for overlayClass: Overlay.Type,
57 | _ renderer: @escaping (Overlay) -> MKOverlayRenderer
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
58 | ) -> Self
59 | 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/AdvancedMap/AdvancedMap+ViewRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Logger.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/OverlayRendererFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/XViewRepresentableContext+Extras.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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AdvancedMap -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap_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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.abi.json
SwiftCompile normal arm64_32 (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:63:15: error: cannot override 'mapView' which has been marked unavailable
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:5:16: error: 'MKMapView' is unavailable in watchOS
3 | public class Coordinator: NSObject, MKMapViewDelegate {
4 | var advancedMap: AdvancedMap
5 | var mapView: MKMapView?
| `- error: 'MKMapView' is unavailable in watchOS
6 |
7 | /// I'm using this to avoid updating the map while an animation is in progress. There is
/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/AdvancedMap/CrossPlatformBridging.swift:16:49: error: cannot find type 'NSGestureRecognizer' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
| `- error: cannot find type 'NSGestureRecognizer' in scope
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
18 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:17:53: error: cannot find type 'NSPressGestureRecognizer' in scope
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
| `- error: cannot find type 'NSPressGestureRecognizer' in scope
18 | #endif
19 |
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:29:56: error: 'MKMapView' is unavailable in watchOS
27 | // MARK: MKMapViewDelegate
28 |
29 | public func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
30 | DispatchQueue.main.async { [weak self] in
31 | guard let self = self else { return }
/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/AdvancedMap/MapViewCoordinator.swift:36:34: error: 'MKMapView' is unavailable in watchOS
34 | }
35 |
36 | public func mapView(_ mapView: MKMapView, regionWillChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
37 | isChangingRegion = true
38 | advancedMap.regionChangingHandler(true, animated)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:41:34: error: 'MKMapView' is unavailable in watchOS
39 | }
40 |
41 | public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
42 | isChangingRegion = false
43 | advancedMap.regionChangingHandler(false, animated)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:59:34: error: 'MKMapView' is unavailable in watchOS
57 | #endif
58 |
59 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
60 | advancedMap.annotationViewFactory.mapView(mapView, viewFor: annotation)
61 | }
/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/AdvancedMap/MapViewCoordinator.swift:59:82: error: 'MKAnnotationView' is unavailable in watchOS
57 | #endif
58 |
59 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
60 | advancedMap.annotationViewFactory.mapView(mapView, viewFor: annotation)
61 | }
/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/AdvancedMap/MapViewCoordinator.swift:63:34: error: 'MKMapView' is unavailable in watchOS
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:63:80: error: 'MKOverlayRenderer' is unavailable in watchOS
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:81:48: error: 'MKMapView' is unavailable in watchOS
79 | // MARK: - Gesture Recognizer
80 |
81 | func addTapOrClickGestureRecognizer(mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
82 | #if os(macOS)
83 | let clickGesture = NSClickGestureRecognizer(
/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/AdvancedMap/MapViewCoordinator.swift:101:52: error: 'MKMapView' is unavailable in watchOS
99 | }
100 |
101 | func addLongTapOrClickGestureRecognizer(mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
102 | #if os(macOS)
103 | let longPress = NSPressGestureRecognizer(
/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/AdvancedMap/MapViewCoordinator.swift:3:37: error: 'MKMapViewDelegate' is unavailable in watchOS
1 | import MapKit
2 |
3 | public class Coordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
4 | var advancedMap: AdvancedMap
5 | var 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: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/AdvancedMap/MapViewCoordinator.swift:29:15: error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
27 | // MARK: MKMapViewDelegate
28 |
29 | public func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
30 | DispatchQueue.main.async { [weak self] in
31 | guard let self = self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:266:1: note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
264 | - (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
265 |
266 | - (void)mapViewDidChangeVisibleRegion:(MKMapView *)mapView API_AVAILABLE(ios(11), tvos(11), macos(10.13)) API_UNAVAILABLE(watchos);
| `- note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
267 |
268 | - (void)mapViewWillStartLoadingMap:(MKMapView *)mapView;
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:137:35: error: 'UITapGestureRecognizer' is unavailable in watchOS
135 | #else
136 | extension Coordinator: UIGestureRecognizerDelegate {
137 | @objc func didTapOnMap(gesture: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
138 | didTapOrClickOnMap(gesture: gesture)
139 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:141:41: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 | }
140 |
141 | @objc func didLongPressOnMap(gesture: UILongPressGestureRecognizer) {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 | didLongPress(gesture: gesture)
143 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:145:71: error: 'UIGestureRecognizer' is unavailable in watchOS
143 | }
144 |
145 | @objc public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
146 | shouldGestureRecognizerBegin(gesture: gestureRecognizer)
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:149:60: error: 'UIGestureRecognizer' is unavailable in watchOS
147 | }
148 |
149 | @objc public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
150 | // Without this a long tap/click gesture will only work on every other attempt.
151 | if gestureRecognizer is UILongPressGestureRecognizer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:149:130: error: 'UIGestureRecognizer' is unavailable in watchOS
147 | }
148 |
149 | @objc public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
150 | // Without this a long tap/click gesture will only work on every other attempt.
151 | if gestureRecognizer is UILongPressGestureRecognizer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:136:24: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
134 | }
135 | #else
136 | extension Coordinator: UIGestureRecognizerDelegate {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
137 | @objc func didTapOnMap(gesture: UITapGestureRecognizer) {
138 | didTapOrClickOnMap(gesture: gesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:12:32: error: cannot find type 'NSView' in scope
10 | public typealias XLongTapOrClickGestureRecognizer = UIGestureRecognizer
11 | #else
12 | public typealias XLegacyView = NSView
| `- error: cannot find type 'NSView' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:91:22: error: 'UITapGestureRecognizer' is unavailable in watchOS
89 | tapOrClickGesture = clickGesture
90 | #else
91 | let tapGesture = UITapGestureRecognizer(
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
92 | target: self,
93 | action: #selector(Coordinator.didTapOnMap(gesture:))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:110:19: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
108 | longPressGesture = longPress
109 | #else
110 | let longTap = UILongPressGestureRecognizer(
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
111 | target: self,
112 | action: #selector(Coordinator.didLongPressOnMap(gesture:))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
SwiftCompile normal arm64_32 Compiling\ Logger.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Logger.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Logger.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Logger.swift
SwiftCompile normal arm64_32 Compiling\ Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Configuration.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Configuration.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Configuration.swift
SwiftCompile normal arm64_32 Compiling\ CrossPlatformBridging.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:12:32: error: cannot find type 'NSView' in scope
10 | public typealias XLongTapOrClickGestureRecognizer = UIGestureRecognizer
11 | #else
12 | public typealias XLegacyView = NSView
| `- error: cannot find type 'NSView' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:13:32: error: cannot find type 'NSEdgeInsets' in scope
11 | #else
12 | public typealias XLegacyView = NSView
13 | public typealias XEdgeInsets = NSEdgeInsets
| `- error: cannot find type 'NSEdgeInsets' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:14:39: error: cannot find type 'NSViewRepresentable' in scope
12 | public typealias XLegacyView = NSView
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
| `- error: cannot find type 'NSViewRepresentable' in scope
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:15:46: error: cannot find type 'NSViewRepresentableContext' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
| `- error: cannot find type 'NSViewRepresentableContext' in scope
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:16:49: error: cannot find type 'NSGestureRecognizer' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
| `- error: cannot find type 'NSGestureRecognizer' in scope
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
18 | #endif
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CrossPlatformBridging.swift
SwiftCompile normal arm64_32 Compiling\ AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift:11:26: error: 'MKMapView' is unavailable in watchOS
9 | /// - view: A closure that returns the view associated with the specified annotation object.
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
| `- error: 'MKMapView' is unavailable in watchOS
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
13 | ) {
/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/AdvancedMap/AnnotationViewFactory.swift:12:22: error: 'MKMapView' is unavailable in watchOS
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
13 | ) {
14 | 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/AdvancedMap/AnnotationViewFactory.swift:12:50: error: 'MKAnnotationView' is unavailable in watchOS
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
13 | ) {
14 | 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/AdvancedMap/AnnotationViewFactory.swift:18:18: error: 'MKMapView' is unavailable in watchOS
16 | }
17 |
18 | var register: (MKMapView) -> Void
| `- error: 'MKMapView' is unavailable in watchOS
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
20 |
/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/AdvancedMap/AnnotationViewFactory.swift:19:14: error: 'MKMapView' is unavailable in watchOS
17 |
18 | var register: (MKMapView) -> Void
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
20 |
21 | 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/AdvancedMap/AnnotationViewFactory.swift:19:42: error: 'MKAnnotationView' is unavailable in watchOS
17 |
18 | var register: (MKMapView) -> Void
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
20 |
21 | 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/AdvancedMap/AnnotationViewFactory.swift:21:29: error: 'MKMapView' is unavailable in watchOS
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
20 |
21 | func register(in mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
22 | register(mapView)
23 | }
/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/AdvancedMap/AnnotationViewFactory.swift:25:27: error: 'MKMapView' is unavailable in watchOS
23 | }
24 |
25 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
26 | view(mapView, annotation)
27 | }
/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/AdvancedMap/AnnotationViewFactory.swift:25:75: error: 'MKAnnotationView' is unavailable in watchOS
23 | }
24 |
25 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
26 | view(mapView, annotation)
27 | }
/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/AdvancedMap/AnnotationViewFactory.swift:73:15: error: 'MKAnnotationView' is unavailable in watchOS
71 | ) -> Self
72 | where Annotation: MKAnnotation,
73 | View: MKAnnotationView
| `- error: 'MKAnnotationView' is unavailable in watchOS
74 | {
75 | 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/AdvancedMap/AnnotationViewFactory.swift:80:15: error: 'register(_:forAnnotationViewWithReuseIdentifier:)' is unavailable in watchOS
78 |
79 | return .init(register: { mapView in
80 | mapView.register(
| `- error: 'register(_:forAnnotationViewWithReuseIdentifier:)' is unavailable in watchOS
81 | viewClass.self,
82 | 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 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnnotationViewFactory.swift
SwiftCompile normal arm64_32 Compiling\ MapKit+Equatable.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapKit+Equatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:3:1: warning: extension declares a conformance of imported type 'MKMapRect' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
1 | import MapKit
2 |
3 | extension MKMapRect: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapRect' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public static func == (lhs: MKMapRect, rhs: MKMapRect) -> Bool {
5 | return lhs.origin == rhs.origin && lhs.size == rhs.size
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'MKMapPoint' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
8 | }
9 |
10 | extension MKMapPoint: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapPoint' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public static func == (lhs: MKMapPoint, rhs: MKMapPoint) -> Bool {
12 | return lhs.x == rhs.x && lhs.y == rhs.y
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'MKMapSize' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
14 | }
15 |
16 | extension MKMapSize: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapSize' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 | public static func == (lhs: MKMapSize, rhs: MKMapSize) -> Bool {
18 | return lhs.width == rhs.width
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 18:58:00.858 xcodebuild[651:4150] [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\ AdvancedMap (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64_32 (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
Building workspace SwiftUIAdvancedMap with scheme SwiftUIAdvancedMap
(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:
SwiftUIAdvancedMap: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftUIAdvancedMap
2026-09-18 18:58:07.479 xcodebuild[796:4695] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUIAdvancedMap",
"name" : "SwiftUIAdvancedMap",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "AdvancedMap",
"targets" : [
"AdvancedMap"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AdvancedMap",
"module_type" : "SwiftTarget",
"name" : "AdvancedMap",
"path" : "Sources/AdvancedMap",
"product_memberships" : [
"AdvancedMap"
],
"sources" : [
"AdvancedMap+ViewRepresentable.swift",
"AdvancedMap.swift",
"AnnotationViewFactory.swift",
"Configuration.swift",
"CrossPlatformBridging.swift",
"Logger.swift",
"MKUserLocation+AnnotationViewFactory.swift",
"MapKit+Equatable.swift",
"MapViewCoordinator.swift",
"OverlayRendererFactory.swift",
"XViewRepresentableContext+Extras.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "SwiftUIAdvancedMap",
"schemes" : [
"SwiftUIAdvancedMap"
]
}
}
2026-09-18 18:58:08.666 xcodebuild[804:4771] [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 SwiftUIAdvancedMap -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 SwiftUIAdvancedMap -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftUIAdvancedMap: /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 'AdvancedMap-product' in project 'SwiftUIAdvancedMap'
➜ Explicit dependency on target 'AdvancedMap' in project 'SwiftUIAdvancedMap'
Target 'AdvancedMap' in project 'SwiftUIAdvancedMap' (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 AdvancedMap normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
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 AdvancedMap -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap_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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver AdvancedMap normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
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 AdvancedMap -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64/AdvancedMap.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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64/AdvancedMap-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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64/AdvancedMap.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64/AdvancedMap-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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64/AdvancedMap_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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64/AdvancedMap-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\ AdvancedMap (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:14:39: error: cannot find type 'NSViewRepresentable' in scope
12 | public typealias XLegacyView = NSView
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
| `- error: cannot find type 'NSViewRepresentable' in scope
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:15:46: error: cannot find type 'NSViewRepresentableContext' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
| `- error: cannot find type 'NSViewRepresentableContext' in scope
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:6:78: error: 'MKMapView' is unavailable in watchOS
4 | extension AdvancedMap: XViewRepresentable {
5 |
6 | public func makeUIView(context: XViewRepresentableContext<AdvancedMap>) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
7 | _makeView(context: context)
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/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:10:35: error: cannot find type 'Context' in scope
8 | }
9 |
10 | public func makeNSView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
11 | _makeView(context: context)
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:10:47: error: 'MKMapView' is unavailable in watchOS
8 | }
9 |
10 | public func makeNSView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
11 | _makeView(context: context)
12 | }
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:14:70: error: 'MKMapView' is unavailable in watchOS
12 | }
13 |
14 | func _makeView(context: XViewRepresentableContext<AdvancedMap>) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
15 | logger.debug("Creating MKMapView")
16 | // Without providing a non-zero frame the user tracking mode is reset to `none`
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:37:16: error: 'MKMapView' is unavailable in watchOS
35 |
36 | public func updateNSView(
37 | _ mapView: MKMapView,
| `- error: 'MKMapView' is unavailable in watchOS
38 | context: XViewRepresentableContext<AdvancedMap>
39 | ) {
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:44:16: error: 'MKMapView' is unavailable in watchOS
42 |
43 | public func updateUIView(
44 | _ mapView: MKMapView,
| `- error: 'MKMapView' is unavailable in watchOS
45 | context: XViewRepresentableContext<AdvancedMap>
46 | ) {
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:54:46: error: cannot find type 'Context' in scope
52 | }
53 |
54 | func update(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
55 | if let visibleMapRect, !context.coordinator.isChangingRegion, mapView.visibleMapRect != visibleMapRect, userTrackingMode == .none {
56 | mapView.setVisibleMapRect(visibleMapRect, edgePadding: edgeInsets, animated: context.shouldAnimateChanges)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:54:26: error: 'MKMapView' is unavailable in watchOS
52 | }
53 |
54 | func update(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
55 | if let visibleMapRect, !context.coordinator.isChangingRegion, mapView.visibleMapRect != visibleMapRect, userTrackingMode == .none {
56 | mapView.setVisibleMapRect(visibleMapRect, edgePadding: edgeInsets, animated: context.shouldAnimateChanges)
/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/AdvancedMap/CrossPlatformBridging.swift:13:32: error: cannot find type 'NSEdgeInsets' in scope
11 | #else
12 | public typealias XLegacyView = NSView
13 | public typealias XEdgeInsets = NSEdgeInsets
| `- error: cannot find type 'NSEdgeInsets' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift:11:26: error: 'MKMapView' is unavailable in watchOS
9 | /// - view: A closure that returns the view associated with the specified annotation object.
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
| `- error: 'MKMapView' is unavailable in watchOS
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
13 | ) {
/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/AdvancedMap/AnnotationViewFactory.swift:12:22: error: 'MKMapView' is unavailable in watchOS
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
13 | ) {
14 | 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/AdvancedMap/AnnotationViewFactory.swift:12:50: error: 'MKAnnotationView' is unavailable in watchOS
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
13 | ) {
14 | 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/AdvancedMap/AnnotationViewFactory.swift:18:18: error: 'MKMapView' is unavailable in watchOS
16 | }
17 |
18 | var register: (MKMapView) -> Void
| `- error: 'MKMapView' is unavailable in watchOS
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
20 |
/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/AdvancedMap/AnnotationViewFactory.swift:19:14: error: 'MKMapView' is unavailable in watchOS
17 |
18 | var register: (MKMapView) -> Void
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
20 |
21 | 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/AdvancedMap/AnnotationViewFactory.swift:19:42: error: 'MKAnnotationView' is unavailable in watchOS
17 |
18 | var register: (MKMapView) -> Void
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
20 |
21 | 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/AdvancedMap/AnnotationViewFactory.swift:21:29: error: 'MKMapView' is unavailable in watchOS
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
20 |
21 | func register(in mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
22 | register(mapView)
23 | }
/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/AdvancedMap/AnnotationViewFactory.swift:25:27: error: 'MKMapView' is unavailable in watchOS
23 | }
24 |
25 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
26 | view(mapView, annotation)
27 | }
/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/AdvancedMap/AnnotationViewFactory.swift:25:75: error: 'MKAnnotationView' is unavailable in watchOS
23 | }
24 |
25 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
26 | view(mapView, annotation)
27 | }
/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/AdvancedMap/AnnotationViewFactory.swift:73:15: error: 'MKAnnotationView' is unavailable in watchOS
71 | ) -> Self
72 | where Annotation: MKAnnotation,
73 | View: MKAnnotationView
| `- error: 'MKAnnotationView' is unavailable in watchOS
74 | {
75 | 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/AdvancedMap/CrossPlatformBridging.swift:12:32: error: cannot find type 'NSView' in scope
10 | public typealias XLongTapOrClickGestureRecognizer = UIGestureRecognizer
11 | #else
12 | public typealias XLegacyView = NSView
| `- error: cannot find type 'NSView' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:16:49: error: cannot find type 'NSGestureRecognizer' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
| `- error: cannot find type 'NSGestureRecognizer' in scope
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
18 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:17:53: error: cannot find type 'NSPressGestureRecognizer' in scope
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
| `- error: cannot find type 'NSPressGestureRecognizer' in scope
18 | #endif
19 |
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift:21:84: error: 'MKUserLocation' is unavailable in watchOS
19 | }
20 |
21 | public static let mkUserLocationViewFactory = AnnotationViewFactory.factory(for: MKUserLocation.self, MKUserLocationView.self)
| `- error: 'MKUserLocation' is unavailable in watchOS
22 | }
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift:21:105: error: 'MKUserLocationView' is unavailable in watchOS
19 | }
20 |
21 | public static let mkUserLocationViewFactory = AnnotationViewFactory.factory(for: MKUserLocation.self, MKUserLocationView.self)
| `- error: 'MKUserLocationView' is unavailable in watchOS
22 | }
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocationView.h:17:12: note: 'MKUserLocationView' has been explicitly marked unavailable here
15 |
16 | API_AVAILABLE(ios(14.0), tvos(14.0), macos(11.0)) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocationView : MKAnnotationView
| `- note: 'MKUserLocationView' has been explicitly marked unavailable here
18 |
19 | @end
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift:3:11: error: 'MKUserLocation' is unavailable in watchOS
1 | import MapKit
2 |
3 | extension MKUserLocation {
| `- error: 'MKUserLocation' is unavailable in watchOS
4 |
5 | public override func isEqual(_ object: Any?) -> Bool {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:3:1: warning: extension declares a conformance of imported type 'MKMapRect' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
1 | import MapKit
2 |
3 | extension MKMapRect: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapRect' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public static func == (lhs: MKMapRect, rhs: MKMapRect) -> Bool {
5 | return lhs.origin == rhs.origin && lhs.size == rhs.size
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'MKMapPoint' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
8 | }
9 |
10 | extension MKMapPoint: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapPoint' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public static func == (lhs: MKMapPoint, rhs: MKMapPoint) -> Bool {
12 | return lhs.x == rhs.x && lhs.y == rhs.y
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'MKMapSize' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
14 | }
15 |
16 | extension MKMapSize: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapSize' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 | public static func == (lhs: MKMapSize, rhs: MKMapSize) -> Bool {
18 | return lhs.width == rhs.width
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:22:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
20 | }
21 |
22 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of '_LocationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
24 | return lhs.longitude == rhs.longitude
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:63:15: error: cannot override 'mapView' which has been marked unavailable
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:5:16: error: 'MKMapView' is unavailable in watchOS
3 | public class Coordinator: NSObject, MKMapViewDelegate {
4 | var advancedMap: AdvancedMap
5 | var mapView: MKMapView?
| `- error: 'MKMapView' is unavailable in watchOS
6 |
7 | /// I'm using this to avoid updating the map while an animation is in progress. There is
/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/AdvancedMap/MapViewCoordinator.swift:29:56: error: 'MKMapView' is unavailable in watchOS
27 | // MARK: MKMapViewDelegate
28 |
29 | public func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
30 | DispatchQueue.main.async { [weak self] in
31 | guard let self = self else { return }
/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/AdvancedMap/MapViewCoordinator.swift:36:34: error: 'MKMapView' is unavailable in watchOS
34 | }
35 |
36 | public func mapView(_ mapView: MKMapView, regionWillChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
37 | isChangingRegion = true
38 | advancedMap.regionChangingHandler(true, animated)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:41:34: error: 'MKMapView' is unavailable in watchOS
39 | }
40 |
41 | public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
42 | isChangingRegion = false
43 | advancedMap.regionChangingHandler(false, animated)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:59:34: error: 'MKMapView' is unavailable in watchOS
57 | #endif
58 |
59 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
60 | advancedMap.annotationViewFactory.mapView(mapView, viewFor: annotation)
61 | }
/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/AdvancedMap/MapViewCoordinator.swift:59:82: error: 'MKAnnotationView' is unavailable in watchOS
57 | #endif
58 |
59 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
60 | advancedMap.annotationViewFactory.mapView(mapView, viewFor: annotation)
61 | }
/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/AdvancedMap/MapViewCoordinator.swift:63:34: error: 'MKMapView' is unavailable in watchOS
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:63:80: error: 'MKOverlayRenderer' is unavailable in watchOS
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:81:48: error: 'MKMapView' is unavailable in watchOS
79 | // MARK: - Gesture Recognizer
80 |
81 | func addTapOrClickGestureRecognizer(mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
82 | #if os(macOS)
83 | let clickGesture = NSClickGestureRecognizer(
/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/AdvancedMap/MapViewCoordinator.swift:101:52: error: 'MKMapView' is unavailable in watchOS
99 | }
100 |
101 | func addLongTapOrClickGestureRecognizer(mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
102 | #if os(macOS)
103 | let longPress = NSPressGestureRecognizer(
/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/AdvancedMap/MapViewCoordinator.swift:3:37: error: 'MKMapViewDelegate' is unavailable in watchOS
1 | import MapKit
2 |
3 | public class Coordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
4 | var advancedMap: AdvancedMap
5 | var 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: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/AdvancedMap/MapViewCoordinator.swift:29:15: error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
27 | // MARK: MKMapViewDelegate
28 |
29 | public func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
30 | DispatchQueue.main.async { [weak self] in
31 | guard let self = self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:266:1: note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
264 | - (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
265 |
266 | - (void)mapViewDidChangeVisibleRegion:(MKMapView *)mapView API_AVAILABLE(ios(11), tvos(11), macos(10.13)) API_UNAVAILABLE(watchos);
| `- note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
267 |
268 | - (void)mapViewWillStartLoadingMap:(MKMapView *)mapView;
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:137:35: error: 'UITapGestureRecognizer' is unavailable in watchOS
135 | #else
136 | extension Coordinator: UIGestureRecognizerDelegate {
137 | @objc func didTapOnMap(gesture: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
138 | didTapOrClickOnMap(gesture: gesture)
139 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:141:41: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 | }
140 |
141 | @objc func didLongPressOnMap(gesture: UILongPressGestureRecognizer) {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 | didLongPress(gesture: gesture)
143 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:145:71: error: 'UIGestureRecognizer' is unavailable in watchOS
143 | }
144 |
145 | @objc public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
146 | shouldGestureRecognizerBegin(gesture: gestureRecognizer)
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:149:60: error: 'UIGestureRecognizer' is unavailable in watchOS
147 | }
148 |
149 | @objc public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
150 | // Without this a long tap/click gesture will only work on every other attempt.
151 | if gestureRecognizer is UILongPressGestureRecognizer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:149:130: error: 'UIGestureRecognizer' is unavailable in watchOS
147 | }
148 |
149 | @objc public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
150 | // Without this a long tap/click gesture will only work on every other attempt.
151 | if gestureRecognizer is UILongPressGestureRecognizer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:136:24: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
134 | }
135 | #else
136 | extension Coordinator: UIGestureRecognizerDelegate {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
137 | @objc func didTapOnMap(gesture: UITapGestureRecognizer) {
138 | didTapOrClickOnMap(gesture: gesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/OverlayRendererFactory.swift:8:50: error: 'MKOverlayRenderer' is unavailable in watchOS
6 | public struct OverlayRendererFactory {
7 | /// - Parameter renderer: A closure that returns optional render for provided overlay.
8 | public init(renderer: @escaping (MKOverlay) -> MKOverlayRenderer?) {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
9 | self.renderer = renderer
10 | }
/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/AdvancedMap/OverlayRendererFactory.swift:12:32: error: 'MKOverlayRenderer' is unavailable in watchOS
10 | }
11 |
12 | var renderer: (MKOverlay) -> MKOverlayRenderer?
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
13 |
14 | 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/AdvancedMap/OverlayRendererFactory.swift:14:45: error: 'MKOverlayRenderer' is unavailable in watchOS
12 | var renderer: (MKOverlay) -> MKOverlayRenderer?
13 |
14 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
15 | renderer(overlay)
16 | }
/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/AdvancedMap/OverlayRendererFactory.swift:57:40: error: 'MKOverlayRenderer' is unavailable in watchOS
55 | public static func factory<Overlay>(
56 | for overlayClass: Overlay.Type,
57 | _ renderer: @escaping (Overlay) -> MKOverlayRenderer
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
58 | ) -> Self
59 | 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:
SwiftCompile normal arm64_32 (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Logger.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/OverlayRendererFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/XViewRepresentableContext+Extras.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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AdvancedMap -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap_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/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIAdvancedMap.build/Debug-watchos/AdvancedMap-t.build/Objects-normal/arm64_32/AdvancedMap.abi.json
SwiftCompile normal arm64_32 Compiling\ AdvancedMap+ViewRepresentable.swift,\ AdvancedMap.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:14:39: error: cannot find type 'NSViewRepresentable' in scope
12 | public typealias XLegacyView = NSView
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
| `- error: cannot find type 'NSViewRepresentable' in scope
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:15:46: error: cannot find type 'NSViewRepresentableContext' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
| `- error: cannot find type 'NSViewRepresentableContext' in scope
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:6:78: error: 'MKMapView' is unavailable in watchOS
4 | extension AdvancedMap: XViewRepresentable {
5 |
6 | public func makeUIView(context: XViewRepresentableContext<AdvancedMap>) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
7 | _makeView(context: context)
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/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:10:35: error: cannot find type 'Context' in scope
8 | }
9 |
10 | public func makeNSView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
11 | _makeView(context: context)
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:10:47: error: 'MKMapView' is unavailable in watchOS
8 | }
9 |
10 | public func makeNSView(context: Context) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
11 | _makeView(context: context)
12 | }
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:14:70: error: 'MKMapView' is unavailable in watchOS
12 | }
13 |
14 | func _makeView(context: XViewRepresentableContext<AdvancedMap>) -> MKMapView {
| `- error: 'MKMapView' is unavailable in watchOS
15 | logger.debug("Creating MKMapView")
16 | // Without providing a non-zero frame the user tracking mode is reset to `none`
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:37:16: error: 'MKMapView' is unavailable in watchOS
35 |
36 | public func updateNSView(
37 | _ mapView: MKMapView,
| `- error: 'MKMapView' is unavailable in watchOS
38 | context: XViewRepresentableContext<AdvancedMap>
39 | ) {
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:44:16: error: 'MKMapView' is unavailable in watchOS
42 |
43 | public func updateUIView(
44 | _ mapView: MKMapView,
| `- error: 'MKMapView' is unavailable in watchOS
45 | context: XViewRepresentableContext<AdvancedMap>
46 | ) {
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:54:46: error: cannot find type 'Context' in scope
52 | }
53 |
54 | func update(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
55 | if let visibleMapRect, !context.coordinator.isChangingRegion, mapView.visibleMapRect != visibleMapRect, userTrackingMode == .none {
56 | mapView.setVisibleMapRect(visibleMapRect, edgePadding: edgeInsets, animated: context.shouldAnimateChanges)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:54:26: error: 'MKMapView' is unavailable in watchOS
52 | }
53 |
54 | func update(_ mapView: MKMapView, context: Context) {
| `- error: 'MKMapView' is unavailable in watchOS
55 | if let visibleMapRect, !context.coordinator.isChangingRegion, mapView.visibleMapRect != visibleMapRect, userTrackingMode == .none {
56 | mapView.setVisibleMapRect(visibleMapRect, edgePadding: edgeInsets, animated: context.shouldAnimateChanges)
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:19:22: error: 'MKMapView' is unavailable in watchOS
17 | // in the delegate after setting on the map.
18 | // https://stackoverflow.com/questions/61262404/mkmapview-usertrackingmode-reset-in-swiftui
19 | let newMapView = MKMapView(frame: .init(x: 0, y: 0, width: 1, height: 1))
| `- error: 'MKMapView' is unavailable in watchOS
20 |
21 | context.coordinator.mapView = newMapView
/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/AdvancedMap/AdvancedMap+ViewRepresentable.swift:55:109: error: cannot find 'userTrackingMode' in scope
53 |
54 | func update(_ mapView: MKMapView, context: Context) {
55 | if let visibleMapRect, !context.coordinator.isChangingRegion, mapView.visibleMapRect != visibleMapRect, userTrackingMode == .none {
| `- error: cannot find 'userTrackingMode' in scope
56 | mapView.setVisibleMapRect(visibleMapRect, edgePadding: edgeInsets, animated: context.shouldAnimateChanges)
57 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AdvancedMap+ViewRepresentable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AdvancedMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:13:32: error: cannot find type 'NSEdgeInsets' in scope
11 | #else
12 | public typealias XLegacyView = NSView
13 | public typealias XEdgeInsets = NSEdgeInsets
| `- error: cannot find type 'NSEdgeInsets' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:63:15: error: 'preferredConfiguration' is unavailable in watchOS
61 | style.pointOfInterestFilter = pointOfInterestFilter
62 | style.showsTraffic = showsTraffic
63 | mapView.preferredConfiguration = style
| `- error: 'preferredConfiguration' is unavailable in watchOS
64 | case let .hybrid(elevationStyle, pointOfInterestFilter, showsTraffic):
65 | let style = MKHybridMapConfiguration(elevationStyle: elevationStyle)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:85:49: note: 'preferredConfiguration' has been explicitly marked unavailable here
83 | @property (nonatomic) MKMapType mapType API_DEPRECATED("Use respective MKMapConfiguration", macos(10.9, API_TO_BE_DEPRECATED), ios(3.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED));
84 |
85 | @property (nonatomic, copy) MKMapConfiguration *preferredConfiguration API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'preferredConfiguration' has been explicitly marked unavailable here
86 |
87 | #if TARGET_OS_IOS
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:65:19: error: 'MKHybridMapConfiguration' is unavailable in watchOS
63 | mapView.preferredConfiguration = style
64 | case let .hybrid(elevationStyle, pointOfInterestFilter, showsTraffic):
65 | let style = MKHybridMapConfiguration(elevationStyle: elevationStyle)
| `- error: 'MKHybridMapConfiguration' is unavailable in watchOS
66 | style.pointOfInterestFilter = pointOfInterestFilter
67 | style.showsTraffic = showsTraffic
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h:15:12: note: 'MKHybridMapConfiguration' has been explicitly marked unavailable here
13 | MK_EXTERN
14 | API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos)
15 | @interface MKHybridMapConfiguration : MKMapConfiguration
| `- note: 'MKHybridMapConfiguration' has been explicitly marked unavailable here
16 |
17 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:68:15: error: 'preferredConfiguration' is unavailable in watchOS
66 | style.pointOfInterestFilter = pointOfInterestFilter
67 | style.showsTraffic = showsTraffic
68 | mapView.preferredConfiguration = style
| `- error: 'preferredConfiguration' is unavailable in watchOS
69 | case let .imagery(elevationStyle):
70 | let style = MKImageryMapConfiguration(elevationStyle: elevationStyle)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:85:49: note: 'preferredConfiguration' has been explicitly marked unavailable here
83 | @property (nonatomic) MKMapType mapType API_DEPRECATED("Use respective MKMapConfiguration", macos(10.9, API_TO_BE_DEPRECATED), ios(3.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED));
84 |
85 | @property (nonatomic, copy) MKMapConfiguration *preferredConfiguration API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos);
| `- note: 'preferredConfiguration' has been explicitly marked unavailable here
86 |
87 | #if TARGET_OS_IOS
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AdvancedMap+ViewRepresentable.swift:70:19: error: 'MKImageryMapConfiguration' is unavailable in watchOS
68 | mapView.preferredConfiguration = style
69 | case let .imagery(elevationStyle):
70 | let style = MKImageryMapConfiguration(elevationStyle: elevationStyle)
| `- error: 'MKImageryMapConfiguration' is unavailable in watchOS
71 | mapView.preferredConfiguration = style
72 | case .none:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h:14:12: note: 'MKImageryMapConfiguration' has been explicitly marked unavailable here
12 | MK_EXTERN
13 | API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos)
14 | @interface MKImageryMapConfiguration : MKMapConfiguration
| `- note: 'MKImageryMapConfiguration' has been explicitly marked unavailable here
15 |
16 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
SwiftCompile normal arm64_32 Compiling\ OverlayRendererFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/OverlayRendererFactory.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/OverlayRendererFactory.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile OverlayRendererFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/OverlayRendererFactory.swift:8:50: error: 'MKOverlayRenderer' is unavailable in watchOS
6 | public struct OverlayRendererFactory {
7 | /// - Parameter renderer: A closure that returns optional render for provided overlay.
8 | public init(renderer: @escaping (MKOverlay) -> MKOverlayRenderer?) {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
9 | self.renderer = renderer
10 | }
/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/AdvancedMap/OverlayRendererFactory.swift:12:32: error: 'MKOverlayRenderer' is unavailable in watchOS
10 | }
11 |
12 | var renderer: (MKOverlay) -> MKOverlayRenderer?
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
13 |
14 | 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/AdvancedMap/OverlayRendererFactory.swift:14:45: error: 'MKOverlayRenderer' is unavailable in watchOS
12 | var renderer: (MKOverlay) -> MKOverlayRenderer?
13 |
14 | func rendererFor(_ overlay: MKOverlay) -> MKOverlayRenderer? {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
15 | renderer(overlay)
16 | }
/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\ XViewRepresentableContext+Extras.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/XViewRepresentableContext+Extras.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/XViewRepresentableContext+Extras.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XViewRepresentableContext+Extras.swift
SwiftCompile normal arm64_32 Compiling\ AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift:11:26: error: 'MKMapView' is unavailable in watchOS
9 | /// - view: A closure that returns the view associated with the specified annotation object.
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
| `- error: 'MKMapView' is unavailable in watchOS
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
13 | ) {
/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/AdvancedMap/AnnotationViewFactory.swift:12:22: error: 'MKMapView' is unavailable in watchOS
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
13 | ) {
14 | 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/AdvancedMap/AnnotationViewFactory.swift:12:50: error: 'MKAnnotationView' is unavailable in watchOS
10 | public init(
11 | register: @escaping (MKMapView) -> Void,
12 | view: @escaping (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
13 | ) {
14 | 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/AdvancedMap/AnnotationViewFactory.swift:18:18: error: 'MKMapView' is unavailable in watchOS
16 | }
17 |
18 | var register: (MKMapView) -> Void
| `- error: 'MKMapView' is unavailable in watchOS
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
20 |
/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/AdvancedMap/AnnotationViewFactory.swift:19:14: error: 'MKMapView' is unavailable in watchOS
17 |
18 | var register: (MKMapView) -> Void
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKMapView' is unavailable in watchOS
20 |
21 | 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/AdvancedMap/AnnotationViewFactory.swift:19:42: error: 'MKAnnotationView' is unavailable in watchOS
17 |
18 | var register: (MKMapView) -> Void
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
| `- error: 'MKAnnotationView' is unavailable in watchOS
20 |
21 | 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/AdvancedMap/AnnotationViewFactory.swift:21:29: error: 'MKMapView' is unavailable in watchOS
19 | var view: (MKMapView, MKAnnotation) -> MKAnnotationView?
20 |
21 | func register(in mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
22 | register(mapView)
23 | }
/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/AdvancedMap/AnnotationViewFactory.swift:25:27: error: 'MKMapView' is unavailable in watchOS
23 | }
24 |
25 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
26 | view(mapView, annotation)
27 | }
/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/AdvancedMap/AnnotationViewFactory.swift:25:75: error: 'MKAnnotationView' is unavailable in watchOS
23 | }
24 |
25 | func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
26 | view(mapView, annotation)
27 | }
/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/AdvancedMap/AnnotationViewFactory.swift:73:15: error: 'MKAnnotationView' is unavailable in watchOS
71 | ) -> Self
72 | where Annotation: MKAnnotation,
73 | View: MKAnnotationView
| `- error: 'MKAnnotationView' is unavailable in watchOS
74 | {
75 | 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/AdvancedMap/AnnotationViewFactory.swift:80:15: error: 'register(_:forAnnotationViewWithReuseIdentifier:)' is unavailable in watchOS
78 |
79 | return .init(register: { mapView in
80 | mapView.register(
| `- error: 'register(_:forAnnotationViewWithReuseIdentifier:)' is unavailable in watchOS
81 | viewClass.self,
82 | 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 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/AnnotationViewFactory.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AnnotationViewFactory.swift
SwiftCompile normal arm64_32 Compiling\ CrossPlatformBridging.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:12:32: error: cannot find type 'NSView' in scope
10 | public typealias XLongTapOrClickGestureRecognizer = UIGestureRecognizer
11 | #else
12 | public typealias XLegacyView = NSView
| `- error: cannot find type 'NSView' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:13:32: error: cannot find type 'NSEdgeInsets' in scope
11 | #else
12 | public typealias XLegacyView = NSView
13 | public typealias XEdgeInsets = NSEdgeInsets
| `- error: cannot find type 'NSEdgeInsets' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:14:39: error: cannot find type 'NSViewRepresentable' in scope
12 | public typealias XLegacyView = NSView
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
| `- error: cannot find type 'NSViewRepresentable' in scope
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:15:46: error: cannot find type 'NSViewRepresentableContext' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
| `- error: cannot find type 'NSViewRepresentableContext' in scope
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:16:49: error: cannot find type 'NSGestureRecognizer' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
| `- error: cannot find type 'NSGestureRecognizer' in scope
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
18 | #endif
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CrossPlatformBridging.swift
SwiftCompile normal arm64_32 Compiling\ Configuration.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Configuration.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/Configuration.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Configuration.swift
SwiftCompile normal arm64_32 Compiling\ MKUserLocation+AnnotationViewFactory.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift:21:84: error: 'MKUserLocation' is unavailable in watchOS
19 | }
20 |
21 | public static let mkUserLocationViewFactory = AnnotationViewFactory.factory(for: MKUserLocation.self, MKUserLocationView.self)
| `- error: 'MKUserLocation' is unavailable in watchOS
22 | }
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h:17:12: note: 'MKUserLocation' has been explicitly marked unavailable here
15 |
16 | NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocation : NSObject <MKAnnotation>
| `- note: 'MKUserLocation' has been explicitly marked unavailable here
18 |
19 | // Returns YES if the user's location is being updated.
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift:21:105: error: 'MKUserLocationView' is unavailable in watchOS
19 | }
20 |
21 | public static let mkUserLocationViewFactory = AnnotationViewFactory.factory(for: MKUserLocation.self, MKUserLocationView.self)
| `- error: 'MKUserLocationView' is unavailable in watchOS
22 | }
23 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocationView.h:17:12: note: 'MKUserLocationView' has been explicitly marked unavailable here
15 |
16 | API_AVAILABLE(ios(14.0), tvos(14.0), macos(11.0)) API_UNAVAILABLE(watchos)
17 | @interface MKUserLocationView : MKAnnotationView
| `- note: 'MKUserLocationView' has been explicitly marked unavailable here
18 |
19 | @end
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MKUserLocation+AnnotationViewFactory.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MKUserLocation+AnnotationViewFactory.swift
SwiftCompile normal arm64_32 Compiling\ MapViewCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:63:15: error: cannot override 'mapView' which has been marked unavailable
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: cannot override 'mapView' which has been marked unavailable
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:5:16: error: 'MKMapView' is unavailable in watchOS
3 | public class Coordinator: NSObject, MKMapViewDelegate {
4 | var advancedMap: AdvancedMap
5 | var mapView: MKMapView?
| `- error: 'MKMapView' is unavailable in watchOS
6 |
7 | /// I'm using this to avoid updating the map while an animation is in progress. There is
/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/AdvancedMap/CrossPlatformBridging.swift:16:49: error: cannot find type 'NSGestureRecognizer' in scope
14 | public typealias XViewRepresentable = NSViewRepresentable
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
| `- error: cannot find type 'NSGestureRecognizer' in scope
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
18 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:17:53: error: cannot find type 'NSPressGestureRecognizer' in scope
15 | public typealias XViewRepresentableContext = NSViewRepresentableContext
16 | public typealias XTapOrClickGestureRecognizer = NSGestureRecognizer
17 | public typealias XLongTapOrClickGestureRecognizer = NSPressGestureRecognizer
| `- error: cannot find type 'NSPressGestureRecognizer' in scope
18 | #endif
19 |
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:29:56: error: 'MKMapView' is unavailable in watchOS
27 | // MARK: MKMapViewDelegate
28 |
29 | public func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
30 | DispatchQueue.main.async { [weak self] in
31 | guard let self = self else { return }
/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/AdvancedMap/MapViewCoordinator.swift:36:34: error: 'MKMapView' is unavailable in watchOS
34 | }
35 |
36 | public func mapView(_ mapView: MKMapView, regionWillChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
37 | isChangingRegion = true
38 | advancedMap.regionChangingHandler(true, animated)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:41:34: error: 'MKMapView' is unavailable in watchOS
39 | }
40 |
41 | public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
| `- error: 'MKMapView' is unavailable in watchOS
42 | isChangingRegion = false
43 | advancedMap.regionChangingHandler(false, animated)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:73:12: note: 'MKMapView' has been explicitly marked unavailable here
71 | #if TARGET_OS_IPHONE
72 | NS_CLASS_AVAILABLE(NA, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
73 | @interface MKMapView : UIView <NSCoding>
| `- note: 'MKMapView' has been explicitly marked unavailable here
74 | #else
75 | NS_CLASS_AVAILABLE(10_9, NA)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:59:34: error: 'MKMapView' is unavailable in watchOS
57 | #endif
58 |
59 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKMapView' is unavailable in watchOS
60 | advancedMap.annotationViewFactory.mapView(mapView, viewFor: annotation)
61 | }
/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/AdvancedMap/MapViewCoordinator.swift:59:82: error: 'MKAnnotationView' is unavailable in watchOS
57 | #endif
58 |
59 | public func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? {
| `- error: 'MKAnnotationView' is unavailable in watchOS
60 | advancedMap.annotationViewFactory.mapView(mapView, viewFor: annotation)
61 | }
/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/AdvancedMap/MapViewCoordinator.swift:63:34: error: 'MKMapView' is unavailable in watchOS
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKMapView' is unavailable in watchOS
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:63:80: error: 'MKOverlayRenderer' is unavailable in watchOS
61 | }
62 |
63 | public func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer {
| `- error: 'MKOverlayRenderer' is unavailable in watchOS
64 | advancedMap.overlayRendererFactory.rendererFor(overlay) ?? .init()
65 | }
/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/AdvancedMap/MapViewCoordinator.swift:81:48: error: 'MKMapView' is unavailable in watchOS
79 | // MARK: - Gesture Recognizer
80 |
81 | func addTapOrClickGestureRecognizer(mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
82 | #if os(macOS)
83 | let clickGesture = NSClickGestureRecognizer(
/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/AdvancedMap/MapViewCoordinator.swift:101:52: error: 'MKMapView' is unavailable in watchOS
99 | }
100 |
101 | func addLongTapOrClickGestureRecognizer(mapView: MKMapView) {
| `- error: 'MKMapView' is unavailable in watchOS
102 | #if os(macOS)
103 | let longPress = NSPressGestureRecognizer(
/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/AdvancedMap/MapViewCoordinator.swift:3:37: error: 'MKMapViewDelegate' is unavailable in watchOS
1 | import MapKit
2 |
3 | public class Coordinator: NSObject, MKMapViewDelegate {
| `- error: 'MKMapViewDelegate' is unavailable in watchOS
4 | var advancedMap: AdvancedMap
5 | var 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: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/AdvancedMap/MapViewCoordinator.swift:29:15: error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
27 | // MARK: MKMapViewDelegate
28 |
29 | public func mapViewDidChangeVisibleRegion(_ mapView: MKMapView) {
| `- error: cannot override 'mapViewDidChangeVisibleRegion' which has been marked unavailable
30 | DispatchQueue.main.async { [weak self] in
31 | guard let self = self else { return }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:266:1: note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
264 | - (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated;
265 |
266 | - (void)mapViewDidChangeVisibleRegion:(MKMapView *)mapView API_AVAILABLE(ios(11), tvos(11), macos(10.13)) API_UNAVAILABLE(watchos);
| `- note: 'mapViewDidChangeVisibleRegion' has been explicitly marked unavailable here
267 |
268 | - (void)mapViewWillStartLoadingMap:(MKMapView *)mapView;
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:137:35: error: 'UITapGestureRecognizer' is unavailable in watchOS
135 | #else
136 | extension Coordinator: UIGestureRecognizerDelegate {
137 | @objc func didTapOnMap(gesture: UITapGestureRecognizer) {
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
138 | didTapOrClickOnMap(gesture: gesture)
139 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:141:41: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
139 | }
140 |
141 | @objc func didLongPressOnMap(gesture: UILongPressGestureRecognizer) {
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
142 | didLongPress(gesture: gesture)
143 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:145:71: error: 'UIGestureRecognizer' is unavailable in watchOS
143 | }
144 |
145 | @objc public func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
146 | shouldGestureRecognizerBegin(gesture: gestureRecognizer)
147 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:149:60: error: 'UIGestureRecognizer' is unavailable in watchOS
147 | }
148 |
149 | @objc public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
150 | // Without this a long tap/click gesture will only work on every other attempt.
151 | if gestureRecognizer is UILongPressGestureRecognizer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:149:130: error: 'UIGestureRecognizer' is unavailable in watchOS
147 | }
148 |
149 | @objc public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer) -> Bool {
| `- error: 'UIGestureRecognizer' is unavailable in watchOS
150 | // Without this a long tap/click gesture will only work on every other attempt.
151 | if gestureRecognizer is UILongPressGestureRecognizer {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:35:12: note: 'UIGestureRecognizer' has been explicitly marked unavailable here
33 |
34 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
35 | @interface UIGestureRecognizer : NSObject
| `- note: 'UIGestureRecognizer' has been explicitly marked unavailable here
36 |
37 | // Valid action method signatures:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:136:24: error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
134 | }
135 | #else
136 | extension Coordinator: UIGestureRecognizerDelegate {
| `- error: 'UIGestureRecognizerDelegate' is unavailable in watchOS
137 | @objc func didTapOnMap(gesture: UITapGestureRecognizer) {
138 | didTapOrClickOnMap(gesture: gesture)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h:91:11: note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
89 |
90 | API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
91 | @protocol UIGestureRecognizerDelegate <NSObject>
| `- note: 'UIGestureRecognizerDelegate' has been explicitly marked unavailable here
92 | @optional
93 | // called when a gesture recognizer attempts to transition out of UIGestureRecognizerStatePossible. returning NO causes it to transition to UIGestureRecognizerStateFailed
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/CrossPlatformBridging.swift:12:32: error: cannot find type 'NSView' in scope
10 | public typealias XLongTapOrClickGestureRecognizer = UIGestureRecognizer
11 | #else
12 | public typealias XLegacyView = NSView
| `- error: cannot find type 'NSView' in scope
13 | public typealias XEdgeInsets = NSEdgeInsets
14 | public typealias XViewRepresentable = NSViewRepresentable
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:91:22: error: 'UITapGestureRecognizer' is unavailable in watchOS
89 | tapOrClickGesture = clickGesture
90 | #else
91 | let tapGesture = UITapGestureRecognizer(
| `- error: 'UITapGestureRecognizer' is unavailable in watchOS
92 | target: self,
93 | action: #selector(Coordinator.didTapOnMap(gesture:))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h:23:12: note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
21 |
22 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
23 | @interface UITapGestureRecognizer : UIGestureRecognizer
| `- note: 'UITapGestureRecognizer' has been explicitly marked unavailable here
24 |
25 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 1. The number of taps required to match
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift:110:19: error: 'UILongPressGestureRecognizer' is unavailable in watchOS
108 | longPressGesture = longPress
109 | #else
110 | let longTap = UILongPressGestureRecognizer(
| `- error: 'UILongPressGestureRecognizer' is unavailable in watchOS
111 | target: self,
112 | action: #selector(Coordinator.didLongPressOnMap(gesture:))
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h:22:12: note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
20 |
21 | UIKIT_EXTERN API_AVAILABLE(ios(3.2)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
22 | @interface UILongPressGestureRecognizer : UIGestureRecognizer
| `- note: 'UILongPressGestureRecognizer' has been explicitly marked unavailable here
23 |
24 | @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapViewCoordinator.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewCoordinator.swift
SwiftCompile normal arm64_32 Compiling\ MapKit+Equatable.swift /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapKit+Equatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:3:1: warning: extension declares a conformance of imported type 'MKMapRect' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
1 | import MapKit
2 |
3 | extension MKMapRect: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapRect' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
4 | public static func == (lhs: MKMapRect, rhs: MKMapRect) -> Bool {
5 | return lhs.origin == rhs.origin && lhs.size == rhs.size
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'MKMapPoint' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
8 | }
9 |
10 | extension MKMapPoint: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapPoint' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public static func == (lhs: MKMapPoint, rhs: MKMapPoint) -> Bool {
12 | return lhs.x == rhs.x && lhs.y == rhs.y
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedMap/MapKit+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'MKMapSize' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
14 | }
15 |
16 | extension MKMapSize: Equatable {
| |- warning: extension declares a conformance of imported type 'MKMapSize' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MapKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
17 | public static func == (lhs: MKMapSize, rhs: MKMapSize) -> Bool {
18 | return lhs.width == rhs.width
SwiftEmitModule normal arm64 Emitting\ module\ for\ AdvancedMap (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftCompile normal arm64 (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-18 18:58:09.611 xcodebuild[805:4798] [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 'AdvancedMap' from project 'SwiftUIAdvancedMap')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AdvancedMap (in target 'AdvancedMap' from project 'SwiftUIAdvancedMap')
Building workspace SwiftUIAdvancedMap with scheme SwiftUIAdvancedMap
(3 failures)
BUILD FAILURE 6.4 watchOS