Files
react-native/scripts/release-testing
Fabrizio Cucci 4c69379224 Boot latest available iOS simulator instead of hardcoded iPhone 16 Pro (#55932)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55932

Changelog: [Internal]

When no simulator is already booted, dynamically discover the latest
available iOS runtime and boot the first iPhone device under it, instead
of hardcoding "iPhone 16 Pro". This uses `xcrun simctl list devices
iPhone available -j` to query available devices and picks the last iOS
runtime alphabetically (i.e. the newest).

Also moved the `bootSimulatorIfNeeded` call before the `xcodebuild`
invocation on the local build path, since `xcodebuild -destination
"generic/platform=iOS Simulator"` can itself trigger a new simulator
boot.

Reviewed By: cipolleschi

Differential Revision: D95371266

fbshipit-source-id: 0f4e2a476c971e774b6461edbecba4623f6befa6
2026-03-05 06:38:08 -08:00
..

scripts/release-testing

Scripts supporting local manual release testing. See also How to Test a Release.

Commands

For information on command arguments, run node <command> --help.

test-release-local

Set up, build, and install a given test app configuration.

test-release-local-clean

Clean up all file system and cache state between tests.