From 9f7d9e6ddaea051bf5f231356591bddde4d9a7ac Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 24 Sep 2014 19:42:53 -0700 Subject: [PATCH] iosbuild: make iOS 6 the minimum requirement iOS 5 support isn't available in the Xcode 6 install; iOS 6 covers phones starting at the 3GS, so should be a reasonable base line Change-Id: Ie5603c9e30cb52114b372509e183febbf679a69a --- iosbuild.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/iosbuild.sh b/iosbuild.sh index 32f2a6dc..888219f3 100755 --- a/iosbuild.sh +++ b/iosbuild.sh @@ -35,8 +35,8 @@ LIBLIST='' if [[ -z "${SDK}" ]]; then echo "iOS SDK not available" exit 1 -elif [[ ${SDK} < 4.0 ]]; then - echo "You need iOS SDK version 4.0 or above" +elif [[ ${SDK} < 6.0 ]]; then + echo "You need iOS SDK version 6.0 or above" exit 1 else echo "iOS SDK Version ${SDK}" @@ -78,12 +78,10 @@ for PLATFORM in ${PLATFORMS}; do if [[ -z "${XCODE}" ]]; then echo "XCODE not available" exit 1 - elif [[ ${SDK} < 5.0.0 ]]; then - DEVROOT="${PLATFORMSROOT}/${PLATFORM}.platform/Developer/" else DEVROOT="${DEVELOPER}/Toolchains/XcodeDefault.xctoolchain" - CFLAGS+=" -miphoneos-version-min=5.0" - LDFLAGS+=" -miphoneos-version-min=5.0" + CFLAGS+=" -miphoneos-version-min=6.0" + LDFLAGS+=" -miphoneos-version-min=6.0" fi export CFLAGS