Release 137.0.0
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”
DOWNLOAD:READ
Insert or append the following to ~/.netrc
~/.netrc
machine api.mapbox.com login mapbox password <TOKEN WITH DOWNLOAD:READ SCOPE>
.package(url: "git@github.com:mapbox/mapbox-navigation-native-ios.git", from: "137.0.0"),
pod 'MapboxNavigationNative', '137.0.0'
Add the following code to your Cartfile.
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-navigation-native/MapboxNavigationNative.json" == 137.0.0 binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon-ios.json" == 23.6.0
Then run the following command in the Terminal.
carthage update --platform ios --use-netrc
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
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
Integration
Swift Package Manager
Using SPM Package
CocoaPods
Carthage
Add the following code to your Cartfile.
Then run the following command in the Terminal.