aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/include.sh/build-dep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/include.sh/build-dep.sh')
-rwxr-xr-xscripts/include.sh/build-dep.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/include.sh/build-dep.sh b/scripts/include.sh/build-dep.sh
index ad66be7e..32534c27 100755
--- a/scripts/include.sh/build-dep.sh
+++ b/scripts/include.sh/build-dep.sh
@@ -7,7 +7,13 @@ build_git_ios()
fi
simarchs="i386 x86_64"
- if xcodebuild -showsdks 2>/dev/null|grep iphoneos8.1 >/dev/null ; then
+ if xcodebuild -showsdks 2>/dev/null|grep iphoneos8.3 >/dev/null ; then
+ sdkversion=8.3
+ devicearchs="armv7 armv7s arm64"
+ elif xcodebuild -showsdks 2>/dev/null|grep iphoneos8.2 >/dev/null ; then
+ sdkversion=8.2
+ devicearchs="armv7 armv7s arm64"
+ elif xcodebuild -showsdks 2>/dev/null|grep iphoneos8.1 >/dev/null ; then
sdkversion=8.1
devicearchs="armv7 armv7s arm64"
elif xcodebuild -showsdks 2>/dev/null|grep iphoneos8.0 >/dev/null ; then