diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-08-21 00:32:34 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-08-21 00:32:34 -0700 |
commit | ee150fc3e1379d4af5e8d5297837cd9b206444da (patch) | |
tree | b5ad51b852d64cd0e736aebdd60783d12501eef0 /scripts/build-mailcore2-ios.sh | |
parent | bf91399a0db6ddb856c556f2c8e7a52f726e66c5 (diff) |
Updated to libetpan 75a2e16a23c73ab0cdabb8e5b69b941ded0632f0. Fixed build with Xcode 5.
Diffstat (limited to 'scripts/build-mailcore2-ios.sh')
-rwxr-xr-x | scripts/build-mailcore2-ios.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/build-mailcore2-ios.sh b/scripts/build-mailcore2-ios.sh index 9e54dea6..a505fce0 100755 --- a/scripts/build-mailcore2-ios.sh +++ b/scripts/build-mailcore2-ios.sh @@ -1,6 +1,13 @@ #!/bin/sh -sdkversion=6.1 +if xcodebuild -showsdks|grep iphoneos6.1 >/dev/null ; then + sdkversion=6.1 +elif xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then + sdkversion=7.0 +else + echo SDK not found + exit 1 +fi url="https://github.com/MailCore/mailcore2.git" pushd `dirname $0` > /dev/null |