Publish Bitcode-less build for Xcode 6.4
Publish a Release-configuration, symbol-laden, Bitcode-less build in tandem with the other builds. Fixes #2332.
This commit is contained in:
@@ -8,11 +8,17 @@ NAME=Mapbox
|
||||
OUTPUT=build/ios/pkg
|
||||
IOS_SDK_VERSION=`xcrun --sdk iphoneos --show-sdk-version`
|
||||
LIBUV_VERSION=1.7.5
|
||||
ENABLE_BITCODE=YES
|
||||
|
||||
if [[ ${#} -eq 0 ]]; then # e.g. "make ipackage"
|
||||
BUILDTYPE="Release"
|
||||
BUILD_FOR_DEVICE=true
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS="YES"
|
||||
elif [[ ${1} == "no-bitcode" ]]; then # e.g. "make ipackage-no-bitcode"
|
||||
BUILDTYPE="Release"
|
||||
BUILD_FOR_DEVICE=true
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS="YES"
|
||||
ENABLE_BITCODE=NO
|
||||
elif [[ ${1} == "sim" ]]; then # e.g. "make ipackage-sim"
|
||||
BUILDTYPE="Debug"
|
||||
BUILD_FOR_DEVICE=false
|
||||
@@ -53,7 +59,7 @@ if [[ "${BUILD_FOR_DEVICE}" == true ]]; then
|
||||
ARCHS="arm64 armv7 armv7s" \
|
||||
ONLY_ACTIVE_ARCH=NO \
|
||||
GCC_GENERATE_DEBUGGING_SYMBOLS=${GCC_GENERATE_DEBUGGING_SYMBOLS} \
|
||||
ENABLE_BITCODE=YES \
|
||||
ENABLE_BITCODE=${ENABLE_BITCODE} \
|
||||
DEPLOYMENT_POSTPROCESSING=YES \
|
||||
-project ./build/ios-all/gyp/mbgl.xcodeproj \
|
||||
-configuration ${BUILDTYPE} \
|
||||
|
||||
@@ -31,6 +31,13 @@ if [[ ${PUBLISH_PLATFORM} = 'ios' ]]; then
|
||||
|
||||
mapbox_time "deploy_ios_stripped"
|
||||
./scripts/ios/publish.sh "${PUBLISH_VERSION}"
|
||||
|
||||
# debug symbols but no Bitcode
|
||||
mapbox_time "package_ios_no_bitcode" \
|
||||
make ipackage-no-bitcode
|
||||
|
||||
mapbox_time "deploy_ios_no_bitcode"
|
||||
./scripts/ios/publish.sh "${PUBLISH_VERSION}" no-bitcode
|
||||
else
|
||||
# build & test iOS
|
||||
mapbox_time "run_ios_tests" \
|
||||
|
||||
Reference in New Issue
Block a user