mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
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
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.