From cdf8e95d666304aff985ee2a13c3ce5c1cc5e48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Thu, 10 Jul 2014 11:34:16 -0700 Subject: [PATCH] update docs [skip ci] --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b417026b6..e642468a3 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,10 @@ The demo applications use Mapbox vector tiles, which **require a Mapbox account ## OS X -Insert your access token into `access_token.hpp`. +in the Xcode project, click on the Target icon next to the Run/Stop button, and then "Edit Scheme". In the screen, add an environment variable with the name `MAPBOX_ACCESS_TOKEN` to the targets you want to run. + +![Setting the access token](https://cloud.githubusercontent.com/assets/52399/3543326/9e7cfbb8-0860-11e4-8def-3684a9028b61.png) + Run: @@ -72,7 +75,7 @@ Target devices: iPhone 4 and above (4S, 5, 5c, 5s) and iPad 2 and above (3, 4, m ## Ubuntu -Insert your access token into `access_token.hpp`. +Set the environment variable `MAPBOX_ACCESS_TOKEN` to your token. Ensure you have git and other build essentials: