cli icon indicating copy to clipboard operation
cli copied to clipboard

fix(ios): prioritize simulators over devices

Open szymonrybczak opened this issue 3 months ago • 1 comments

Summary:

In run-ios command we prioritize simulators over devices: https://github.com/react-native-community/cli/blob/992d01dc2d985c9950acac5a5d4855f91d54fd74/packages/cli-platform-apple/src/commands/runCommand/createRun.ts#L225 but we're launching app first on a device then on a simulator, in this PR I switched the order of launching app to align with logging and previous assumptions.

Test Plan:

Checklist

  • [x] Documentation is up to date to reflect these changes.
  • [x] Follows commit message convention described in CONTRIBUTING.md

szymonrybczak avatar Apr 23 '24 10:04 szymonrybczak

For some reason Windows Job is failing - all passes locally.

szymonrybczak avatar Apr 23 '24 16:04 szymonrybczak