-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: correctly list ios devices and simulators #1863
fix: correctly list ios devices and simulators #1863
Conversation
Thanks for the PR @roryf 🎉 Could you please resolve failing test? And then we can merge :) |
@adamTrz should be resolved now |
hey @roryf, I've released these packages:
They won't be automatically pulled by the RN 0.71, so we'd need to send a request to update the CLI EDIT: sent: reactwg/react-native-releases#59 |
@thymikee @szymonrybczak @roryf could we potentially make this the default behaviour in case it fails to run Asking as the command seems to be defaulting to my Apple Watch (something to look into as well, I would be happy to do it) and might default to my physical device which will potentially fail as well as it's sometimes not in the same network. |
Summary:
Backports #1823 to 10.x branch.
After updating to RN 0.71.3 I was experiencing issue similar to #1807 (it would try to use my laptop as target device), hoping this can be merged to a 10.x release and fixed in a new RN 0.71.x version.
Fixes #1845
Test Plan:
node ../cli/packages/cli/build/bin.js run-ios
verified it launched app in expected iPhone 14 simulator, where before it would error with out of box react native 0.71.1 failed run-ios facebook/react-native#35917 (comment)node ../cli/packages/cli/build/bin.js run-ios --list-devices
verified it listed all available simulators, and not my laptop as previous