Set your access token and permissions

Add a MGLMapboxAccessToken key to the Info.plist file with the value of your Mapbox access token:

Sign in to your Mapbox account to display your access token.
YOUR_MAPBOX_ACCESS_TOKEN

To give your users a brief explanation of how the app will use their location data if you choose to access their location, add a NSLocationAlwaysUsageDescription key to the Info.plist file with the description:

Shows your location on the map and helps improve OpenStreetMap.
Next