The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LPMapView, reference main (f600c5), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 22:18:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lukepistrol/LPMapView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lukepistrol/LPMapView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f600c5b Update FUNDING.yml
Cloned https://github.com/lukepistrol/LPMapView.git
Revision (git rev-parse @):
f600c5bbd8b24f26002344917d2e30abea667b61
SUCCESS checkout https://github.com/lukepistrol/LPMapView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/lukepistrol/LPMapView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] LPMapView
[30 / 109]
[33 / 109]
[41 / 109]
[43 / 109]
[44 / 109]
[49 / 109]
[51 / 109]
[53 / 109]
[56 / 109]
[61 / 109]
[63 / 109]
[66 / 109]
[67 / 109]
[78 / 109]
[81 / 109]
[85 / 109]
[87 / 109]
[89 / 109]
[100 / 109] LPMapView
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:14:29: error: cannot find type 'UIColor' in scope
12 |
13 |     struct Configuration {
14 |         var annotationTint: UIColor
   |                             `- error: cannot find type 'UIColor' in scope
15 |         var showCallout: Bool
16 |         var routeStyle: MapRouteStyle
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: cannot find type 'UIGestureRecognizer' in scope
16 |         var routeStyle: MapRouteStyle
17 |         var onSelection: ((MKAnnotation) -> Void)?
18 |         var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
   |                            `- error: cannot find type 'UIGestureRecognizer' in scope
19 |         var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 |     /// The line's tint color.
13 |     var tint: UIColor { get set }
   |               `- error: cannot find type 'UIColor' in scope
14 |
15 |     /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:48:17: error: cannot override 'mapView' which has been marked unavailable
46 |     }
47 |
48 |     public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
   |                 `- error: cannot override 'mapView' which has been marked unavailable
49 |         configuration.onSelection?(annotation)
50 |     }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:293:1: note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
292 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
    | `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
294 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 |     }
31 |
32 |     var mapAnnotationTint: UIColor {
   |                            `- error: cannot find type 'UIColor' in scope
33 |         get { self[MapAnnotationTintKey.self] }
34 |         set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
 20 |     // MARK: Annotation
 21 |     @Environment(\.mapAnnotationVisibility) private var annotationVisibility
 22 |     @Environment(\.mapAnnotationTint) private var annotationTint
    |                  `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
 23 |     @Environment(\.mapShowCallout) private var showCallout
 24 |     @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:6: error: generic parameter 'Value' could not be inferred
 20 |     // MARK: Annotation
 21 |     @Environment(\.mapAnnotationVisibility) private var annotationVisibility
 22 |     @Environment(\.mapAnnotationTint) private var annotationTint
    |      `- error: generic parameter 'Value' could not be inferred
 23 |     @Environment(\.mapShowCallout) private var showCallout
 24 |     @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
 20 |     // MARK: Annotation
 21 |     @Environment(\.mapAnnotationVisibility) private var annotationVisibility
 22 |     @Environment(\.mapAnnotationTint) private var annotationTint
    |                  `- error: cannot infer key path type from context; consider explicitly specifying a root type
 23 |     @Environment(\.mapShowCallout) private var showCallout
 24 |     @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:44:32: error: cannot find type 'UIGestureRecognizer' in scope
 42 |
 43 |     private var onSelection: ((MKAnnotation) -> Void)?
 44 |     private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
    |                                `- error: cannot find type 'UIGestureRecognizer' in scope
 45 |     private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:75:24: error: cannot find type 'UIGestureRecognizer' in scope
 73 |         annotations: Binding<[MapViewAnnotation]>,
 74 |         onSelection: ((MKAnnotation) -> Void)? = nil,
 75 |         onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
    |                        `- error: cannot find type 'UIGestureRecognizer' in scope
 76 |         userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
 77 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:108:24: error: cannot find type 'UIGestureRecognizer' in scope
106 |         userTrackingMode: MKUserTrackingMode = .none,
107 |         annotations: Binding<[MapViewAnnotation]>,
108 |         onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
    |                        `- error: cannot find type 'UIGestureRecognizer' in scope
109 |         userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
110 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:37: error: cannot find type 'Context' in scope
150 |     }
151 |
152 |     public func makeUIView(context: Context) -> MKMapView {
    |                                     `- error: cannot find type 'Context' in scope
153 |         let mapView = MKMapView()
154 |         mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:169:61: error: cannot find type 'Context' in scope
167 |     }
168 |
169 |     public func updateUIView(_ mapView: MKMapView, context: Context) {
    |                                                             `- error: cannot find type 'Context' in scope
170 |         mapView.removeOverlays(mapView.overlays)
171 |         mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
224 |     }
225 |
226 |     private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
    |                                                           `- error: cannot find type 'UILongPressGestureRecognizer' in scope
227 |         UILongPressGestureRecognizer(
228 |             target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:47: error: cannot find type 'Context' in scope
224 |     }
225 |
226 |     private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
    |                                               `- error: cannot find type 'Context' in scope
227 |         UILongPressGestureRecognizer(
228 |             target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:12:25: error: cannot find type 'UIViewRepresentable' in scope
 10 |
 11 | @available(iOS, deprecated: 16, renamed: "MapView")
 12 | public struct LMapView: UIViewRepresentable {
    |                         `- error: cannot find type 'UIViewRepresentable' in scope
 13 |     public typealias UIViewType = MKMapView
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
 20 |     // MARK: Annotation
 21 |     @Environment(\.mapAnnotationVisibility) private var annotationVisibility
 22 |     @Environment(\.mapAnnotationTint) private var annotationTint
    |                  `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
 23 |     @Environment(\.mapShowCallout) private var showCallout
 24 |     @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:6: error: generic parameter 'Value' could not be inferred
 20 |     // MARK: Annotation
 21 |     @Environment(\.mapAnnotationVisibility) private var annotationVisibility
 22 |     @Environment(\.mapAnnotationTint) private var annotationTint
    |      `- error: generic parameter 'Value' could not be inferred
 23 |     @Environment(\.mapShowCallout) private var showCallout
 24 |     @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
 20 |     // MARK: Annotation
 21 |     @Environment(\.mapAnnotationVisibility) private var annotationVisibility
 22 |     @Environment(\.mapAnnotationTint) private var annotationTint
    |                  `- error: cannot infer key path type from context; consider explicitly specifying a root type
 23 |     @Environment(\.mapShowCallout) private var showCallout
 24 |     @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 |     @available(iOS 16.0, *)
71 |     var mapSelectableFeatures: MKMapFeatureOptions {
   |                                `- error: cannot find type 'MKMapFeatureOptions' in scope
72 |         get { self[MapSelectableFeaturesKey.self] }
73 |         set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:6: error: generic parameter 'Value' could not be inferred
 28 |     @Environment(\.mapElevationStyle) private var elevationStyle
 29 |     @Environment(\.mapPOIFilter) private var poiFilter
 30 |     @Environment(\.mapSelectableFeatures) private var selectableFeatures
    |      `- error: generic parameter 'Value' could not be inferred
 31 |     // MARK: UserInteraction
 32 |     @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
 28 |     @Environment(\.mapElevationStyle) private var elevationStyle
 29 |     @Environment(\.mapPOIFilter) private var poiFilter
 30 |     @Environment(\.mapSelectableFeatures) private var selectableFeatures
    |                  `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
 31 |     // MARK: UserInteraction
 32 |     @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot infer key path type from context; consider explicitly specifying a root type
 28 |     @Environment(\.mapElevationStyle) private var elevationStyle
 29 |     @Environment(\.mapPOIFilter) private var poiFilter
 30 |     @Environment(\.mapSelectableFeatures) private var selectableFeatures
    |                  `- error: cannot infer key path type from context; consider explicitly specifying a root type
 31 |     // MARK: UserInteraction
 32 |     @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:49:32: error: cannot find type 'UIGestureRecognizer' in scope
 47 |
 48 |     private var onSelection: ((MKAnnotation) -> Void)?
 49 |     private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
    |                                `- error: cannot find type 'UIGestureRecognizer' in scope
 50 |     private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:80:24: error: cannot find type 'UIGestureRecognizer' in scope
 78 |         annotations: Binding<[MapViewAnnotation]>,
 79 |         onSelection: ((MKAnnotation) -> Void)? = nil,
 80 |         onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
    |                        `- error: cannot find type 'UIGestureRecognizer' in scope
 81 |         userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
 82 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:113:24: error: cannot find type 'UIGestureRecognizer' in scope
111 |         userTrackingMode: MKUserTrackingMode = .none,
112 |         annotations: Binding<[MapViewAnnotation]>,
113 |         onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
    |                        `- error: cannot find type 'UIGestureRecognizer' in scope
114 |         userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
115 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:37: error: cannot find type 'Context' in scope
157 |     // MARK: - UIViewRepresentable
158 |
159 |     public func makeUIView(context: Context) -> MKMapView {
    |                                     `- error: cannot find type 'Context' in scope
160 |         let mapView = MKMapView()
161 |         mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:176:61: error: cannot find type 'Context' in scope
174 |     }
175 |
176 |     public func updateUIView(_ mapView: MKMapView, context: Context) {
    |                                                             `- error: cannot find type 'Context' in scope
177 |         mapView.removeOverlays(mapView.overlays)
178 |         mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:222:46: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 16.0, *)
 12 | public struct MapView: UIViewRepresentable {
    |               `- note: add '@available' attribute to enclosing struct
 13 |     public typealias UIViewType = MKMapView
 14 |
    :
220 |     // MARK: - Methods
221 |
222 |     private func preferredConfiguration() -> MKMapConfiguration {
    |                  |                           `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
223 |         let preferredConfig: MKMapConfiguration
224 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
240 |     }
241 |
242 |     private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
    |                                                           `- error: cannot find type 'UILongPressGestureRecognizer' in scope
243 |         UILongPressGestureRecognizer(
244 |             target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:47: error: cannot find type 'Context' in scope
240 |     }
241 |
242 |     private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
    |                                               `- error: cannot find type 'Context' in scope
243 |         UILongPressGestureRecognizer(
244 |             target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:12:24: error: cannot find type 'UIViewRepresentable' in scope
 10 |
 11 | @available(iOS 16.0, *)
 12 | public struct MapView: UIViewRepresentable {
    |                        `- error: cannot find type 'UIViewRepresentable' in scope
 13 |     public typealias UIViewType = MKMapView
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:48:15: error: cannot find type 'UIColor' in scope
46 |         subtitle: String? = nil,
47 |         systemImage: String? = nil,
48 |         tint: UIColor? = nil,
   |               `- error: cannot find type 'UIColor' in scope
49 |         displayPriotity: MKFeatureDisplayPriority = .required
50 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:27:22: error: cannot find type 'UIColor' in scope
25 |
26 |     /// The color which will be used to tint the annotation marker.
27 |     public var tint: UIColor?
   |                      `- error: cannot find type 'UIColor' in scope
28 |
29 |     /// The display priority of the annotation view.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:31: error: cannot find 'UIColor' in scope
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 |     static let defaultValue = UIColor.systemRed
   |                               `- error: cannot find 'UIColor' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:27:8: error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
25 | }
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
   |        |- error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
   |        `- note: add stubs for conformance
28 |     static let defaultValue = UIColor.systemRed
29 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
  |                `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:51:31: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
48 |
49 | @available(iOS 16.0, *)
50 | struct MapElevationStyleKey: EnvironmentKey {
   |        `- note: add '@available' attribute to enclosing struct
51 |     static let defaultValue = MKMapConfiguration.ElevationStyle.flat
   |                |              `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
   |                `- note: add '@available' attribute to enclosing static property
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 |     static let defaultValue: MKMapFeatureOptions = []
   |                              `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:59:8: error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
57 |
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
   |        |- error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
   |        `- note: add stubs for conformance
60 |     static let defaultValue: MKMapFeatureOptions = []
61 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
  |                `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:60:28: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
 9 | import SwiftUI
10 |
11 | extension EnvironmentValues {
   | `- note: add '@available' attribute to enclosing extension
12 |
13 |     // MARK: Route
   :
58 |
59 |     @available(iOS 16.0, *)
60 |     var mapElevationStyle: MKMapConfiguration.ElevationStyle {
   |         |                  `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
   |         `- note: add '@available' attribute to enclosing property
61 |         get { self[MapElevationStyleKey.self] }
62 |         set { self[MapElevationStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a dashed line with the given width and tint color.
11 | public struct DashedMapRouteStyle: MapRouteStyle {
12 |     public var tint: UIColor
   |                      `- error: cannot find type 'UIColor' in scope
13 |
14 |     public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a solid line with the given width and tint color.
11 | public struct SolidMapRouteStyle: MapRouteStyle {
12 |     public var tint: UIColor
   |                      `- error: cannot find type 'UIColor' in scope
13 |
14 |     public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:81:29: error: cannot find type 'MKMapFeatureOptions' in scope
 79 |         elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
 80 |         poiFilter: MKPointOfInterestFilter = .includingAll,
 81 |         selectableFeatures: MKMapFeatureOptions = []
    |                             `- error: cannot find type 'MKMapFeatureOptions' in scope
 82 |     ) -> some View {
 83 |         self
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:79:25: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
  9 | import SwiftUI
 10 |
 11 | public extension View {
    |        `- note: add '@available' attribute to enclosing extension
 12 |
 13 |     /// Setup options for displaying a route between annotations.
    :
 75 |     ///   the map responds to.
 76 |     @available(iOS 16.0, *)
 77 |     func mapConfiguration(
    |          `- note: add '@available' attribute to enclosing instance method
 78 |         _ configuration: MapViewConfiguration,
 79 |         elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
    |                         `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
 80 |         poiFilter: MKPointOfInterestFilter = .includingAll,
 81 |         selectableFeatures: MKMapFeatureOptions = []
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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/MacOSX.platform/Developer/SDKs/MacOSX27.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/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.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/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-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/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LPMapView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.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/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm