Skip to content

mapbox/mapbox-navigation-native-ios

 
 

mapbox-navigation-native-ios

Prerequisites

Before you can download the Mapbox Navigation Native for iOS, you need to create a token with DOWNLOAD:READ scope. Go to https://account.mapbox.com and click "Create token"

SPM, CocoaPods and Carthage

Insert or append the following to ~/.netrc

machine api.mapbox.com
  login mapbox
  password <TOKEN WITH DOWNLOAD:READ SCOPE>

Integration

Swift Package Manager
Using SPM Package
.package(url: "git@github.com:mapbox/mapbox-navigation-native-ios.git", from: "323.0.0-SNAPSHOT-01-14--04-27.git-9b63aa2-SNAPSHOT.0115T0925Z.cc6b24a"),
CocoaPods
pod 'MapboxNavigationNative', '323.0.0-SNAPSHOT-01-14--04-27.git-9b63aa2-SNAPSHOT.0115T0925Z.cc6b24a'
Carthage

Add the following code to your Cartfile.

binary "https://api.mapbox.com/downloads/v2/carthage/mobile-navigation-native/MapboxNavigationNative.json" == 323.0.0-SNAPSHOT-01-14--04-27.git-9b63aa2-SNAPSHOT.0115T0925Z.cc6b24a
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon-ios.json" == 24.10.0-beta.1

Then run the following command in the Terminal.

carthage update --platform ios --use-netrc

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 11