fastlane-old / scan

The easiest way to run tests of your iOS and Mac app
https://fastlane.tools
221 stars 25 forks source link

Support device selection + simulator version #22

Closed Legoless closed 9 years ago

Legoless commented 9 years ago

Fixes the device selection with --device parameter. Device parameter is now read correctly and tries to match the installed simulator.

--device "iPhone 6" - Will match the first available version of iPhone 6 Simulator. --device "iPhone 6 9.0" - Will match the iPhone 6 9.0 Simulator version. --device "iPhone 6 (9.0)" - Will also match the iPhone 6 9.0 Simulator version.

Fixes the error: ERROR [2015-10-29 10:05:52.97]: Couldn't find simulator 'true' - falling back to default simulator

Also fixes: #18

Please check if everything looks good.

KrauseFx commented 9 years ago

Looks great, thanks. I'll add some finishing touches :+1: