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

Improve iOS simulator selection #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iRonin
Copy link

@iRonin iRonin commented Jan 13, 2015

PoC WIP

Running titanium build --platform iphone with ti config ios.autoSelectDevice false gives user the prompt to select iOS simulator out of all available, eg.

Which simulator do you want to launch your app in?
8.1
   1)  iPhone 4s
   2)  iPhone 5
   3)  iPhone 5s
   4)  iPhone 6 Plus
   5)  iPhone 6
   6)  iPad 2
   7)  iPad Retina
   8)  iPad Air
   9)  Resizable iPhone
  10)  Resizable iPad
Select an simulator by number or name [1]:

Is this something we could merge into this plugin?

Note: This is 90% of Python code I've ever written. I left print()s and commented out code for reviewer to test it easily. I'm also not sure how the flow with selecting sim version and SDK version should work (I have only single SDK installed).

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

Successfully merging this pull request may close these issues.

1 participant