From bab3935431ddec4d2762d2c010eac7530fd26856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Thu, 3 Dec 2015 13:28:20 -0800 Subject: [osx] Fixed standalone launch of osxapp (and run-xosx) Mapbox.framework needs to be embedded in the application bundle. --- docs/BUILD_OSX.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/BUILD_OSX.md b/docs/BUILD_OSX.md index a2e936d59b..0d3c685f41 100644 --- a/docs/BUILD_OSX.md +++ b/docs/BUILD_OSX.md @@ -8,7 +8,9 @@ This project provides an OS X SDK analogous to the Mapbox iOS SDK. Mapbox does n ### Install -1. Copy `gyp/build/Release/Mapbox.framework` into your project. It should happen automatically, but ensure that `Mapbox.framework` is listed in the *Linked Frameworks and Libraries* section of the General tab for your application target. +1. Copy `gyp/build/Release/Mapbox.framework` into your project. + +1. In the project editor, select your application target, go to the General tab, and add `Mapbox.framework` to the *Embedded Binaries* section. 1. Mapbox vector tiles require a Mapbox account and API access token. In the project editor, select the application target. In the Info tab, set `MGLMapboxAccessToken` to your access token. You can obtain one from the [Mapbox account page](https://www.mapbox.com/studio/account/tokens/). -- cgit v1.2.1