Skip to content

Commit 11c66e2

Browse files
ci(e2e/ios): build + run UI tests in Release so the app embeds the JS bundle
The Debug build doesn't embed a JS bundle and AppDelegate's #if DEBUG path loads from Metro, which isn't running in CI — so the app showed the RN red box ('No bundle URL present') and no UI rendered, failing the *_is_reachable tests. Building in Release makes AppDelegate use the embedded main.jsbundle (produced by the Release bundle phase), so the app is self-contained with no packager needed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 49a3106 commit 11c66e2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/react-native-sdk-e2e.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ jobs:
188188
build-for-testing \
189189
-workspace ReactNativeExample.xcworkspace \
190190
-scheme ReactNativeExample \
191+
-configuration Release \
191192
-destination "platform=iOS Simulator,name=iPhone 16" \
192193
-derivedDataPath "$RUNNER_TEMP/DerivedData" \
193194
CODE_SIGNING_ALLOWED=NO \
@@ -201,6 +202,7 @@ jobs:
201202
test-without-building \
202203
-workspace ReactNativeExample.xcworkspace \
203204
-scheme ReactNativeExample \
205+
-configuration Release \
204206
-only-testing:ReactNativeExampleUITests \
205207
-destination "platform=iOS Simulator,name=iPhone 16" \
206208
-derivedDataPath "$RUNNER_TEMP/DerivedData" \

0 commit comments

Comments
 (0)