aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/prepare-ctemplate-ios.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/prepare-ctemplate-ios.sh')
-rwxr-xr-xscripts/prepare-ctemplate-ios.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/prepare-ctemplate-ios.sh b/scripts/prepare-ctemplate-ios.sh
index d23c10fd..228f2294 100755
--- a/scripts/prepare-ctemplate-ios.sh
+++ b/scripts/prepare-ctemplate-ios.sh
@@ -2,7 +2,10 @@
url="https://github.com/dinhviethoa/ctemplate"
-if xcodebuild -showsdks|grep iphoneos8.0 >/dev/null ; then
+if xcodebuild -showsdks|grep iphoneos8.1 >/dev/null ; then
+ sdkversion=8.1
+ MARCHS="armv7 armv7s arm64"
+elif xcodebuild -showsdks|grep iphoneos8.0 >/dev/null ; then
sdkversion=8.0
MARCHS="armv7 armv7s arm64"
elif xcodebuild -showsdks|grep iphoneos7.1 >/dev/null ; then