You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Go to your [Mapbox account dashboard](https://account.mapbox.com/) and create an access token that has the `DOWNLOADS:READ` scope. **PLEASE NOTE: This is not the same as your production Mapbox API token. Make sure to keep it private and do not insert it into any Info.plist file.** Create a file named `.netrc` in your home directory if it doesn’t already exist, then add the following lines to the end of the file:
16
16
```
17
17
machine api.mapbox.com
18
18
login mapbox
19
19
password YOUR_PRIVATE_MAPBOX_TOKEN
20
20
```
21
-
where _YOUR_PRIVATE_MAPBOX_TOKEN_ is your Mapbox API token with the `DOWNLOADS:READ` scope.
21
+
where _YOUR_PRIVATE_MAPBOX_TOKEN_ is your Mapbox API token with the `DOWNLOADS:READ` scope. The login should always be `mapbox`. It should not be your personal username used to create the secret token.
22
22
1. Run `pod repo update && pod install` and open the resulting Navigation-Examples.xcworkspace.
23
23
1. Sign up or log in to your Mapbox account and grab a [Mapbox access token](https://www.mapbox.com/help/define-access-token/).
24
24
1. Enter your Mapbox access token into the value of the `MBXAccessToken` key within the Info.plist file. Alternatively, if you plan to use this project as the basis for any open source application, [read this guide](https://docs.mapbox.com/help/troubleshooting/private-access-token-android-and-ios/#ios) to learn how to best protect your access tokens.
@@ -34,6 +34,7 @@ _Installation with CocoaPods_
34
34
35
35
While we are not able to answer support questions in this repository, below are some helpful resources if you're just getting started with the Mapbox Navigation SDK for iOS:
36
36
37
+
-[Mapbox Navigation SDK for iOS documentation](https://docs.mapbox.com/ios/navigation/guides/)
37
38
-[Mapbox Navigation SDK for iOS examples](https://www.mapbox.com/ios-sdk/navigation/examples/)
38
39
-[Build a navigation app for iOS tutorial](https://www.mapbox.com/help/ios-navigation-sdk/)
0 commit comments