diff options
Diffstat (limited to 'scripts/prepare-tidy-ios.sh')
-rwxr-xr-x | scripts/prepare-tidy-ios.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/prepare-tidy-ios.sh b/scripts/prepare-tidy-ios.sh index cae34513..0bce77d0 100755 --- a/scripts/prepare-tidy-ios.sh +++ b/scripts/prepare-tidy-ios.sh @@ -1,8 +1,11 @@ #!/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" + devicearchs="armv7 armv7s arm64" elif xcodebuild -showsdks|grep iphoneos7.1 >/dev/null ; then sdkversion=7.1 devicearchs="armv7 armv7s arm64" |