[ios] Default to Debug BUILDTYPE, but explicitly set Release for deploys
This commit is contained in:
@@ -36,6 +36,7 @@ If you don’t have an Apple Developer account, change the destination to a simu
|
||||
|
||||
You can customize the build output by passing the following arguments into the `make` invocation:
|
||||
|
||||
* `BUILDTYPE=Release` will optimize for distribution. Defaults to `Debug`.
|
||||
* `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.
|
||||
|
||||
@@ -56,6 +56,7 @@ export TRAVIS_REPO_SLUG=mapbox-gl-native
|
||||
export PUBLISH_VERSION=$1
|
||||
export GITHUB_USER=mapbox
|
||||
export GITHUB_REPO=mapbox-gl-native
|
||||
export BUILDTYPE=Release
|
||||
|
||||
BINARY_DIRECTORY=$2
|
||||
PUBLISH_PRE_FLAG=''
|
||||
|
||||
@@ -9,7 +9,7 @@ OUTPUT=build/ios/pkg
|
||||
DERIVED_DATA=build/ios
|
||||
PRODUCTS=${DERIVED_DATA}/Build/Products
|
||||
|
||||
BUILDTYPE=${BUILDTYPE:-Release}
|
||||
BUILDTYPE=${BUILDTYPE:-Debug}
|
||||
BUILD_FOR_DEVICE=${BUILD_DEVICE:-true}
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS=${SYMBOLS:-YES}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user