cli
cli copied to clipboard
fix(ios): prioritize simulators over devices
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
For some reason Windows Job is failing - all passes locally.