Skip to content

Commit 60318bd

Browse files
committed
fix(ci): specify destination explicitly in buildForTesting
1 parent 3352091 commit 60318bd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/objc-test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,20 @@ runTests() {
7777
-scheme RNTester \
7878
-sdk iphonesimulator \
7979
-destination "platform=iOS Simulator,name=$IOS_DEVICE,OS=$IOS_TARGET_OS" \
80+
-derivedDataPath "/tmp/RNTesterBuild" \
8081
"${SKIPPED_TESTS[@]}"
8182
}
8283

8384
buildForTesting() {
8485
# shellcheck disable=SC1091
8586
source "$ROOT/scripts/.tests.env"
87+
8688
xcodebuild build-for-testing \
8789
-workspace RNTesterPods.xcworkspace \
8890
-scheme RNTester \
8991
-sdk iphonesimulator \
90-
-derivedDataPath "/tmp/RNTesterBuild"
92+
-derivedDataPath "/tmp/RNTesterBuild" \
93+
-destination "platform=iOS Simulator,name=$IOS_DEVICE,OS=$IOS_TARGET_OS"
9194
}
9295

9396
runTestsOnly() {

0 commit comments

Comments
 (0)