https://github.com/mapbox/mapbox-navigation-native-ios
https://github.com/mapbox/mapbox-navigation-native-ios
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mapbox/mapbox-navigation-native-ios
- Owner: mapbox
- License: other
- Created: 2020-12-15T09:10:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T18:29:43.000Z (7 months ago)
- Last Synced: 2024-10-29T20:37:12.286Z (7 months ago)
- Language: Python
- Size: 744 KB
- Stars: 15
- Watchers: 8
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# mapbox-navigation-native-ios
### Prerequisites
Before you can download the [Mapbox Navigation Native](https://github.com/mapbox/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````bash
machine api.mapbox.com
login mapbox
password
```## Integration
##### Swift Package Manager
###### Using SPM Package
```swift
.package(url: "[email protected]:mapbox/mapbox-navigation-native-ios.git", from: "206.1.0"),
```##### CocoaPods
```ruby
pod 'MapboxNavigationNative', '206.1.0'
```##### Carthage
Add the following code to your Cartfile.
```bash
binary "https://api.mapbox.com/downloads/v2/carthage/mobile-navigation-native/MapboxNavigationNative.json" == 206.1.0
binary "https://api.mapbox.com/downloads/v2/carthage/mapbox-common/MapboxCommon-ios.json" == 23.10.0
```Then run the following command in the Terminal.
```bash
carthage update --platform ios --use-netrc
```