From b89141d0cbf349a884833a4156db69df2a4e26d6 Mon Sep 17 00:00:00 2001 From: Krunoslav Zaher Date: Thu, 27 Aug 2015 23:20:40 +0200 Subject: [PATCH] Fix for Xcode7 build server. --- scripts/pre-release-tests.sh | 42 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/scripts/pre-release-tests.sh b/scripts/pre-release-tests.sh index bcc79241..5023cd12 100755 --- a/scripts/pre-release-tests.sh +++ b/scripts/pre-release-tests.sh @@ -3,31 +3,31 @@ IS_LOCAL=0 if [ "$#" -eq 1 ]; then echo "Local test" IS_LOCAL=1 -else - # ios 7 sim - #if [ `xcrun simctl list | grep "${DEFAULT_IOS7_SIMULATOR}" | wc -l` == 0 ]; then - # xcrun simctl create $DEFAULT_IOS7_SIMULATOR 'iPhone 4s' 'com.apple.CoreSimulator.SimRuntime.iOS-7-1' - #else - # echo "${DEFAULT_IOS7_SIMULATOR} exists" - #fi - - #ios 8 sim - #if [ `xcrun simctl list | grep "${DEFAULT_IOS8_SIMULATOR}" | wc -l` == 0 ]; then - # xcrun simctl create $DEFAULT_IOS8_SIMULATOR 'iPhone 6' 'com.apple.CoreSimulator.SimRuntime.iOS-8-4' - #else - # echo "${DEFAULT_IOS8_SIMULATOR} exists" - #fi - - #ios 9 sim - if [ `xcrun simctl list | grep "${DEFAULT_IOS9_SIMULATOR}" | wc -l` == 0 ]; then - xcrun simctl create $DEFAULT_IOS9_SIMULATOR 'iPhone 6' 'com.apple.CoreSimulator.SimRuntime.iOS-9-0' - else - echo "${DEFAULT_IOS9_SIMULATOR} exists" - fi fi ISLOCAL="${IS_LOCAL}" . scripts/common.sh +# ios 7 sim +#if [ `xcrun simctl list | grep "${DEFAULT_IOS7_SIMULATOR}" | wc -l` == 0 ]; then +# xcrun simctl create $DEFAULT_IOS7_SIMULATOR 'iPhone 4s' 'com.apple.CoreSimulator.SimRuntime.iOS-7-1' +#else +# echo "${DEFAULT_IOS7_SIMULATOR} exists" +#fi + +#ios 8 sim +#if [ `xcrun simctl list | grep "${DEFAULT_IOS8_SIMULATOR}" | wc -l` == 0 ]; then +# xcrun simctl create $DEFAULT_IOS8_SIMULATOR 'iPhone 6' 'com.apple.CoreSimulator.SimRuntime.iOS-8-4' +#else +# echo "${DEFAULT_IOS8_SIMULATOR} exists" +#fi + +#ios 9 sim +if [ `xcrun simctl list | grep "${DEFAULT_IOS9_SIMULATOR}" | wc -l` == 0 ]; then + xcrun simctl create $DEFAULT_IOS9_SIMULATOR 'iPhone 6' 'com.apple.CoreSimulator.SimRuntime.iOS-9-0' +else + echo "${DEFAULT_IOS9_SIMULATOR} exists" +fi + #make sure all iOS tests pass for configuration in "Debug" "Release-Tests" "Release" do