summaryrefslogtreecommitdiff
path: root/scripts/ios/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ios/test.sh')
-rwxr-xr-xscripts/ios/test.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/ios/test.sh b/scripts/ios/test.sh
index 170aa0f64e..60ccc76a9e 100755
--- a/scripts/ios/test.sh
+++ b/scripts/ios/test.sh
@@ -4,8 +4,11 @@ set -e
set -o pipefail
set -u
-xctool \
+xcodebuild \
-project ./test/ios/ios-tests.xcodeproj \
-scheme 'Mapbox GL Tests' \
- -sdk iphonesimulator8.4 \
- test
+ -sdk iphonesimulator \
+ -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' \
+ -destination 'platform=iOS Simulator,name=iPad 2,OS=latest' \
+ test \
+ | xcpretty