aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/prepare-libetpan-ios.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/prepare-libetpan-ios.sh')
-rwxr-xr-xscripts/prepare-libetpan-ios.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/prepare-libetpan-ios.sh b/scripts/prepare-libetpan-ios.sh
index e787fb95..2867f8ce 100755
--- a/scripts/prepare-libetpan-ios.sh
+++ b/scripts/prepare-libetpan-ios.sh
@@ -1,6 +1,9 @@
#!/bin/sh
-if xcodebuild -showsdks|grep iphoneos8.0 >/dev/null ; then
+if xcodebuild -showsdks|grep iphoneos8.1 >/dev/null ; then
+ sdkversion=8.1
+ devicearchs="armv7 armv7s arm64"
+elif xcodebuild -showsdks|grep iphoneos8.0 >/dev/null ; then
sdkversion=8.0
devicearchs="armv7 armv7s arm64"
elif xcodebuild -showsdks|grep iphoneos7.1 >/dev/null ; then