-
Notifications
You must be signed in to change notification settings - Fork 905
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 #1823
fix: correctly list ios devices and simulators #1823
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect work @adamTrz! 🙌
Co-authored-by: Szymon Rybczak <szymon.rybczak@gmail.com>
Co-authored-by: Szymon Rybczak <szymon.rybczak@gmail.com>
…x-list-ios-devices
40027ba
to
6dcd752
Compare
Can you check if |
It's working on xCode 12 and 13, couldn't get my hands on lower versions yet ... |
Awesome! That's more than enough I think :D |
Summary:
Switched from
xcrun xctrace list devices
toxcrun xcdevice list
when gathering info about available iOS devices and simulators.Previous one wasn't providing enough information to distinguish between AppleTV / macOS / iPhone devices leading to unexpected behaviours.
Fixes #1816
Fixes #1807
Closes #1786
Test Plan:
Connect as many Apple devices as possible and:
run-ios
- it should try to launch RN App on all valid devices and simulatorsrun-ios --list-devices
- it should list all valid devices (even not available ones) and simulators