maplibre / maplibre-navigation-ios

MapLibre Navigation SDK for iOS
Other
29 stars 27 forks source link

Update install docs for Swift Package Manager #40

Closed michaelkirk closed 1 month ago

michaelkirk commented 1 month ago

Description

As of https://github.com/maplibre/maplibre-navigation-ios/pull/33, Swift Package Manager is the only supported installation method.

FIXES https://github.com/maplibre/maplibre-navigation-ios/issues/38 (hopefully anyway)

A likely culprit for the confusion is forgetting to select your target during SPM installation. If you did forget that configuration, you should be able to recover by manually updating your target's "Build Phases" > "Link Binary with Libraries" and adding the "MapboxNavigation" library.