mapbox-navigation-native-ios

main

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: "203.0.0"),
CocoaPods
pod 'MapboxNavigationNative', '203.0.0'
Carthage

Add the following code to your Cartfile.

binary "https://api.mapbox.com/downloads/v2/carthage/mobile-navigation-native/MapboxNavigationNative.json" == 203.0.0
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon-ios.json" == 23.9.0

Then run the following command in the Terminal.

carthage update --platform ios --use-netrc

Description

  • Swift Tools
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Mar 28 2024 11:30:45 GMT-0900 (Hawaii-Aleutian Daylight Time)