summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-05-10 17:22:10 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-05-10 17:22:10 -0700
commit03a20cd662698fa48a733a90fffd577a7a62bdf0 (patch)
treef9254a21a2e303509841fe9d153670ad4ee7fe41 /platform
parent348cfaab126e82182f0f67481d282816862139e9 (diff)
downloadqtlocation-mapboxgl-03a20cd662698fa48a733a90fffd577a7a62bdf0.tar.gz
Update INSTALL.md
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/INSTALL.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/osx/INSTALL.md b/platform/osx/INSTALL.md
index 3787873d9c..8a4323aa8e 100644
--- a/platform/osx/INSTALL.md
+++ b/platform/osx/INSTALL.md
@@ -8,12 +8,14 @@ The Mapbox OS X SDK requires the OS X 10.10.0 SDK or above.
### Building the SDK
+Grab a [prebuilt release](https://github.com/mapbox/mapbox-gl-native/releases/) – look for the releases that begin with “osx-” – or build the SDK from source:
+
1. [Install core dependencies](../../INSTALL.md).
-1. Run `make xpackage`, which produces a `Mapbox.framework` in the `gyp/build/Release/` folder.
+1. Run `make xpackage`, which produces a `Mapbox.framework` in the `build/osx/pkg/` folder.
### Installation
-1. Open the project editor, select your application target, then go to the General tab. Drag Mapbox.framework from the `build/osx/Build/Products/Release/` directory into the “Embedded Binaries” section. (Don’t drag it into the “Linked Frameworks and Libraries” section; Xcode will add it there automatically.) In the sheet that appears, make sure “Copy items if needed” is checked, then click Finish.
+1. Open the project editor, select your application target, then go to the General tab. Drag Mapbox.framework into the “Embedded Binaries” section. (Don’t drag it into the “Linked Frameworks and Libraries” section; Xcode will add it there automatically.) In the sheet that appears, make sure “Copy items if needed” is checked, then click Finish.
1. Mapbox vector tiles require a Mapbox account and API access token. In the project editor, select the application target, then go to the Info tab. Under the “Custom OS X Application Target Properties” section, set `MGLMapboxAccessToken` to your access token. You can obtain an access token from the [Mapbox account page](https://www.mapbox.com/studio/account/tokens/).