-
Notifications
You must be signed in to change notification settings - Fork 935
feat: list available apple devices with run-ios --list-devices
#1676
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
feat: list available apple devices with run-ios --list-devices
#1676
Conversation
|
How does it look like from the UI perspective? Can you share a screenshot maybe? :) |
|
I was thinking about it a bit more, and it should probably not be its own function, but be added to the
What do you think? |
|
This looks nice! Any chance it could list connected real devices as well as simulators too? |
|
Thanks for the contribution @esthor ! 💪
Maybe sth like what Also, can you add (Booted) info for your listing to show which device is booted and can be used? |
Yes! Good call. I didn't test this out, but should be doable. I'll put them at the top, and maybe flag them in some way that makes it obvious. I'm imagining that in most cases, if you have a connected physical device, your intention is probably to use that, so I'll put those first. |
Oh, that sounds interesting. I will take a look at how the And yeah, will add a
|
|
Hi @esthor . Do you need any assistance with wrapping this PR? 🙂 |
|
Hey! Going to look at it this week. 🙏 |
Co-authored-by: Szymon Rybczak <szymon.rybczak@gmail.com>
…into list-available-apple-devices
|
Oh my gosh. You guys are fantastic. Sorry for delaying this so much. Turns out having a new child can throw off my scheduling. 😂 👨🍼 Please lmk how I can assist today |
No worries, there are priorities I guess 👶🏻 You can try to run it locally and see how it goes ;) |
|
Nice! Ran it locally, and it's looks great for both iOS and Android! 🚀 |
run-ios --list-devices


Summary:
Hey, so this is a WIP for listing available apple devices in an interactive cli prompt. The intention of this is to be able to let the user select an available simulator vs. having to paste device name/udid strings in.
I wanted to put this up as a WIP first because I don't know which path to take next...
run-iosflow (initial thoughts: if user doesn't select a sim, one isn't booted or the one they supply isn't available/existing, instead of fallbacks we give this prompt and then carry-on the run-ios command)run-ios)? 🤔Some advice would be really helpful here as my only experience with the CLI has been my own (and teams') usage. I don't feel I have the context to make a judgement call here for a whole community. Maybe it's super obvious/simple, I just don't know 🤷
Test Plan:
WIP
Fixes #367