diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/Info.plist | 2 | ||||
-rw-r--r-- | platform/ios/build_libs.sh | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/platform/ios/Info.plist b/platform/ios/Info.plist index 70ed2cff..757fc8a7 100644 --- a/platform/ios/Info.plist +++ b/platform/ios/Info.plist @@ -93,6 +93,8 @@ <array> <string>armv7</string> </array> + <key>UIRequiresFullScreen</key> + <true/> <key>UIStatusBarHidden</key> <true/> <key>UISupportedInterfaceOrientations</key> diff --git a/platform/ios/build_libs.sh b/platform/ios/build_libs.sh index 77d1406a..cae76750 100644 --- a/platform/ios/build_libs.sh +++ b/platform/ios/build_libs.sh @@ -20,6 +20,17 @@ do FLAGS="$FLAGS -arch $A" done +# add bitcode for Xcode 7 and up +XCODE_VER=`xcodebuild -version | head -1` +ARRAY=(${XCODE_VER// / }) +XCODE_VER_NUM=${ARRAY[1]} +ARRAY=(${XCODE_VER_NUM//./ }) +MAJOR=${ARRAY[0]} +if [ "$MAJOR" -ge "7" ] +then + FLAGS="$FLAGS -fembed-bitcode" +fi + OUT=build/$build-$OS-$(echo $ARCHS | tr ' ' '-') echo Compiling libraries for $ARCHS. |