summaryrefslogtreecommitdiff
path: root/platform/ios/DEVELOPING.md
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-01-22 01:18:35 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-01-22 14:45:58 -0800
commit1ddce4cb3a7a1bd0b3fe9c15f09b4bb3c642c86d (patch)
tree904617d14f4fa9f9714fe4732f6475071a11bf49 /platform/ios/DEVELOPING.md
parent8eb3489f1b91ea7558e2f597658abf22fd8e9876 (diff)
downloadqtlocation-mapboxgl-1ddce4cb3a7a1bd0b3fe9c15f09b4bb3c642c86d.tar.gz
[ios] Documented make targets
Diffstat (limited to 'platform/ios/DEVELOPING.md')
-rw-r--r--platform/ios/DEVELOPING.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/ios/DEVELOPING.md b/platform/ios/DEVELOPING.md
index 75ad15fdd5..f4d903532f 100644
--- a/platform/ios/DEVELOPING.md
+++ b/platform/ios/DEVELOPING.md
@@ -16,6 +16,20 @@ Which will create and open an Xcode project that can build the entire library fr
If you don't have an Apple Developer account, change the destination from "My Mac" to a simulator such as "iPhone 6" before you run and build the app.
+`ipackage` is only one of several available `make` build targets. Others include:
+
+* `make ipackage` builds both dynamic and static frameworks in the Release configuration for devices and the iOS Simulator.
+* `make ipackage-sim` builds a dynamic framework in the Debug configuration for the iOS simulator. This is the fastest target.
+* `make ipackage-strip` builds both dynamic and static frameworks in the Release configuration, stripped of debug symbols, for devices and the iOS Simulator.
+* `make iframework` builds a dynamic framework in the Release configuration for devices and the iOS Simulator. The CocoaPods pod downloads the output of this target.
+
+You can customize the build output by passing the following arguments into the `make` invocation:
+
+* `BITCODE=NO` builds without Bitcode support.
+* `BUILD_DEVICE=false` builds only for the iOS Simulator.
+* `FORMAT=dynamic` builds only a dynamic framework. `FORMAT=static` builds only a static framework, for compatibility with iOS 7.x.
+* `SYMBOLS=NO` strips the build output of any debug symbols, yielding much smaller binaries.
+
### Access Tokens
_The demo applications use Mapbox vector tiles, which require a Mapbox account and API access token. Obtain an access token on the [Mapbox account page](https://www.mapbox.com/studio/account/tokens/)._