From 9ebe443bc7f3ae154efc391233ad27c49bf1cb5b Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 7 Jan 2018 13:13:56 +0100 Subject: [PATCH] Who's still using XCode < 8 ? --- dist-build/ios.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dist-build/ios.sh b/dist-build/ios.sh index cd042d0c..c0b4b04f 100755 --- a/dist-build/ios.sh +++ b/dist-build/ios.sh @@ -17,14 +17,8 @@ export SIMULATOR32_PREFIX="$PREFIX/tmp/simulator32" export SIMULATOR64_PREFIX="$PREFIX/tmp/simulator64" export XCODEDIR=$(xcode-select -p) -xcode_major=$(xcodebuild -version|egrep '^Xcode '|cut -d' ' -f2|cut -d. -f1) -if [ $xcode_major -ge 8 ]; then - export IOS_SIMULATOR_VERSION_MIN=${IOS_SIMULATOR_VERSION_MIN-"6.0.0"} - export IOS_VERSION_MIN=${IOS_VERSION_MIN-"6.0.0"} -else - export IOS_SIMULATOR_VERSION_MIN=${IOS_SIMULATOR_VERSION_MIN-"5.1.1"} - export IOS_VERSION_MIN=${IOS_VERSION_MIN-"5.1.1"} -fi +export IOS_SIMULATOR_VERSION_MIN=${IOS_SIMULATOR_VERSION_MIN-"6.0.0"} +export IOS_VERSION_MIN=${IOS_VERSION_MIN-"6.0.0"} mkdir -p $SIMULATOR32_PREFIX $SIMULATOR64_PREFIX $IOS32_PREFIX $IOS32s_PREFIX $IOS64_PREFIX || exit 1