mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
4a80dceac7
Reviewed By: yungsters Differential Revision: D4950085 fbshipit-source-id: 44574b5d0ef0d2ad5dfc714309b18dc69cbad9ff
19 lines
333 B
Bash
Executable File
19 lines
333 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Run from react-native root
|
|
|
|
set -e
|
|
|
|
if [ -z "$1" ]
|
|
then
|
|
echo "You must supply an OS version as the first arg, e.g. 8.1"
|
|
exit 255
|
|
fi
|
|
|
|
xctool \
|
|
-project RNTester/RNTester.xcodeproj \
|
|
-scheme RNTester \
|
|
-sdk iphonesimulator${1} \
|
|
-destination "platform=iOS Simulator,OS=${1},name=iPhone 5" \
|
|
build test
|