Skip to content

added prefix com.apple.CoreSimulator.SimDeviceType. for --devicetypeid a... #145

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

Merged
merged 2 commits into from
Apr 23, 2015

Conversation

paventuri
Copy link

Commando iso-sim showdevicetypes return a list similar to this:

com.apple.CoreSimulator.SimDeviceType.iPhone-4s, 8.3
com.apple.CoreSimulator.SimDeviceType.iPhone-5, 8.3
com.apple.CoreSimulator.SimDeviceType.iPhone-5s, 8.3
com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus, 8.3
com.apple.CoreSimulator.SimDeviceType.iPhone-6, 8.3
com.apple.CoreSimulator.SimDeviceType.iPad-2, 8.3
com.apple.CoreSimulator.SimDeviceType.iPad-Retina, 8.3
com.apple.CoreSimulator.SimDeviceType.iPad-Air, 8.3
com.apple.CoreSimulator.SimDeviceType.Resizable-iPhone, 8.3
com.apple.CoreSimulator.SimDeviceType.Resizable-iPad, 8.3

It would be easier to just type the device name and pre-append the Prefix (com.apple.CoreSimulator.SimDeviceType.)

Before: ios-sim launch com.apple.CoreSimulator.SimDeviceType.iPhone-6
After: ios-sim launch iPhone-6

This PR is also backwards compatible.

shazron added a commit that referenced this pull request Apr 23, 2015
added prefix com.apple.CoreSimulator.SimDeviceType. for --devicetypeid a...
@shazron shazron merged commit 4a55127 into ios-control:master Apr 23, 2015
@ajubayer
Copy link

ajubayer commented Jul 9, 2015

good job Patrick!

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.

3 participants