mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-06 22:37:14 +08:00
Bump RN OSS iOS tests to iOS SDK 12.1, Xcode 10.1
Summary: Use Xcode 10.1 and iOS 12.1 SDK to run iOS tests on an iOS 12.1 iPhone XS Simulator, all of which are available on a default Xcode 10.1 install. Note that we were previously running iOS tests using Xcode 10.1 and the 12.1 SDK in a separate `test_xcode10` workflow on Circle CI. This was in place to allow us to track Xcode 10 compatibility during the Xcode 10 beta. Now that Xcode 10 has been public for a while, we can drop the compatibility check and use Xcode 10 in our main iOS test workflow. Reviewed By: TheSavior Differential Revision: D13317891 fbshipit-source-id: 04c17bf3a2e9d3617f14a46b4ed30a5491a4f4a4
This commit is contained in:
committed by
Facebook Github Bot
parent
424d4458d7
commit
04af674c38
@@ -21,7 +21,7 @@ cd "$ROOT"
|
||||
export TEST_NAME="iOS"
|
||||
export SCHEME="RNTester"
|
||||
export SDK="iphonesimulator"
|
||||
export DESTINATION="platform=iOS Simulator,name=iPhone 5s,OS=11.4"
|
||||
export DESTINATION="platform=iOS Simulator,name=iPhone XS,OS=12.1"
|
||||
|
||||
# If there's a "test" argument, pass it to the test script.
|
||||
. ./scripts/objc-test.sh $1
|
||||
|
||||
@@ -21,8 +21,7 @@ cd "$ROOT"
|
||||
export TEST_NAME="tvOS"
|
||||
export SCHEME="RNTester-tvOS"
|
||||
export SDK="appletvsimulator"
|
||||
export DESTINATION="platform=tvOS Simulator,name=Apple TV,OS=11.4"
|
||||
export DESTINATION="platform=tvOS Simulator,name=Apple TV,OS=12.1"
|
||||
|
||||
# If there's a "test" argument, pass it to the test script.
|
||||
. ./scripts/objc-test.sh $1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user