{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/749","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/749/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/749/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/749/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/749","id":54121436,"number":749,"title":"Old token cached in XCode","user":{"login":"mikemorris","id":1149913,"avatar_url":"https://avatars.githubusercontent.com/u/1149913?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemorris","html_url":"https://github.com/mikemorris","followers_url":"https://api.github.com/users/mikemorris/followers","following_url":"https://api.github.com/users/mikemorris/following{/other_user}","gists_url":"https://api.github.com/users/mikemorris/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemorris/subscriptions","organizations_url":"https://api.github.com/users/mikemorris/orgs","repos_url":"https://api.github.com/users/mikemorris/repos","events_url":"https://api.github.com/users/mikemorris/events{/privacy}","received_events_url":"https://api.github.com/users/mikemorris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/OS+X","name":"OS X","color":"333333"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-12T23:15:12Z","updated_at":"2015-01-13T00:48:29Z","closed_at":null,"body":"When running `make xproj`, then clicking the Run button in XCode, vector tile request URLs have an old (revoked) access token attached. Exporting a valid access token as an env var and running `make lproj` works fine.\r\n\r\nI've been struggling with this and can't find any trace of where this might be hidden, tried wiping the `mapbox-gl-native` repo and re-cloning to no avail. Even tried grepping my entire system that turned up no trace of the old token in any files, yet it still shows up in vector tile request URLs, and setting a new env var in `Scheme > osxapp` doesn't seem to have any effect, nor does deleting all the existing schemes and auto-recreating. Not seeing this token ANYWHERE.\r\n\r\n@incanus Help?"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/69676597","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/749#issuecomment-69676597","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/749","id":69676597,"user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T00:48:29Z","updated_at":"2015-01-13T00:48:29Z","body":"The environment variable is cached by our app, which @kkaefer added as a convenience. Easiest fix is to reset settings in iOS Simulator. ="}}