Skip to content
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

Let users specify which simulator to use #8

Closed
gfontenot opened this issue Sep 11, 2015 · 4 comments
Closed

Let users specify which simulator to use #8

gfontenot opened this issue Sep 11, 2015 · 4 comments

Comments

@gfontenot
Copy link
Owner

ideally, users would be able to (at least) pick an OS version to run against. This seems fairly important. We could (should) probably go further, and let users decide which simulator to run against.

@gfontenot
Copy link
Owner Author

I mean "device" when I say "simulator".

@gfontenot gfontenot changed the title Let users specify what to test against Let users specify which simulator to use Jul 12, 2016
@gfontenot
Copy link
Owner Author

I actually think I did mean simulator, at least to start with. We're not actually specifying OS versions anywhere right now. I'm going to rename this to match that expectation.

Basically what I think we'd want:

  • Provide a sane default for the simulator. We can naively default to like iPhone 6s right now, but that won't be enough once we have finished Add the ability to build watch apps #40 and Add the ability to build tvOS apps #41.
  • Allow users to store a local default in case we're not picking the right one (like we do with projects/schemes/workspaces)
  • Pass the selected simulator name to the run_ios_app script to be consistent (ENV variable?)
  • Allow users to override the main simulator on the fly with a local command (Xsimulator)
  • Allow users to pass a simulator name to Xrun to run in a different simulator

I'm going to implement this the simplest way possible for right now, which is to use Good Ol' Freeform Text. I'll open up a couple more issues to track improvements.

@gfontenot
Copy link
Owner Author

Actually, adding basic autocomplete to this will be easy (using simctl list devices) so that should be in the first pass of this as well.

@gfontenot
Copy link
Owner Author

This was done in #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant