aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Viktor Gedzenko <foxinushka@gmail.com>2014-03-11 12:37:38 +0200
committerGravatar Viktor Gedzenko <fox@readdle.com>2014-03-11 12:37:38 +0200
commit404b01573f55f9627658b717364a8ce911a07cdf (patch)
tree3ba18ff000eccd3104e3550900d36e24da806171 /scripts
parent551a2a8dc7cdb5f0bf97505693ab176009c73f93 (diff)
Fixed build in XCode 5.1
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prepare-ctemplate-ios.sh11
-rwxr-xr-xscripts/prepare-icu4c-ios.sh5
-rwxr-xr-xscripts/prepare-libetpan-ios.sh13
-rwxr-xr-xscripts/prepare-tidy-ios.sh11
4 files changed, 26 insertions, 14 deletions
diff --git a/scripts/prepare-ctemplate-ios.sh b/scripts/prepare-ctemplate-ios.sh
index 6456d532..96eda4dd 100755
--- a/scripts/prepare-ctemplate-ios.sh
+++ b/scripts/prepare-ctemplate-ios.sh
@@ -2,12 +2,15 @@
url="https://github.com/dinhviethoa/ctemplate"
-if xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then
- sdkversion=7.0
- MARCHS="armv7 armv7s arm64"
+if xcodebuild -showsdks|grep iphoneos7.1 >/dev/null ; then
+ sdkversion=7.1
+ MARCHS="armv7 armv7s arm64"
+elif xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then
+ sdkversion=7.0
+ MARCHS="armv7 armv7s arm64"
elif xcodebuild -showsdks|grep iphoneos6.1 >/dev/null ; then
sdkversion=6.1
- MARCHS="armv7 armv7s"
+ MARCHS="armv7 armv7s"
else
echo SDK not found
exit 1
diff --git a/scripts/prepare-icu4c-ios.sh b/scripts/prepare-icu4c-ios.sh
index 7d42d2dd..be224d82 100755
--- a/scripts/prepare-icu4c-ios.sh
+++ b/scripts/prepare-icu4c-ios.sh
@@ -1,6 +1,9 @@
#!/bin/sh
-if xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then
+if xcodebuild -showsdks|grep iphoneos7.1 >/dev/null ; then
+ sdkversion=7.1
+ archs="armv7 armv7s arm64 i386 x86_64"
+elif xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then
sdkversion=7.0
archs="armv7 armv7s arm64 i386 x86_64"
elif xcodebuild -showsdks|grep iphoneos6.1 >/dev/null ; then
diff --git a/scripts/prepare-libetpan-ios.sh b/scripts/prepare-libetpan-ios.sh
index d936aa9e..d4de737b 100755
--- a/scripts/prepare-libetpan-ios.sh
+++ b/scripts/prepare-libetpan-ios.sh
@@ -1,11 +1,14 @@
#!/bin/sh
-if xcodebuild -showsdks|grep iphoneos6.1 >/dev/null ; then
- sdkversion=6.1
- devicearchs="armv7 armv7s"
+if xcodebuild -showsdks|grep iphoneos7.1 >/dev/null ; then
+ sdkversion=7.1
+ devicearchs="armv7 armv7s arm64"
elif xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then
- sdkversion=7.0
- devicearchs="armv7 armv7s arm64"
+ sdkversion=7.0
+ devicearchs="armv7 armv7s arm64"
+elif xcodebuild -showsdks|grep iphoneos6.1 >/dev/null ; then
+ sdkversion=6.1
+ devicearchs="armv7 armv7s"
else
echo SDK not found
exit 1
diff --git a/scripts/prepare-tidy-ios.sh b/scripts/prepare-tidy-ios.sh
index 02aef85f..7879ffc6 100755
--- a/scripts/prepare-tidy-ios.sh
+++ b/scripts/prepare-tidy-ios.sh
@@ -1,11 +1,14 @@
#!/bin/sh
-if xcodebuild -showsdks|grep iphoneos6.1 >/dev/null ; then
- sdkversion=6.1
- devicearchs="armv7 armv7s"
+if xcodebuild -showsdks|grep iphoneos7.1 >/dev/null ; then
+ sdkversion=7.1
+ devicearchs="armv7 armv7s arm64"
elif xcodebuild -showsdks|grep iphoneos7.0 >/dev/null ; then
sdkversion=7.0
- devicearchs="armv7 armv7s arm64"
+ devicearchs="armv7 armv7s arm64"
+elif xcodebuild -showsdks|grep iphoneos6.1 >/dev/null ; then
+ sdkversion=6.1
+ devicearchs="armv7 armv7s"
else
echo SDK not found
exit 1