plu / simctl

Ruby interface to xcrun simctl
http://www.rubydoc.info/gems/simctl
MIT License
104 stars 19 forks source link

Headless simulators #15

Closed adamprice closed 7 years ago

adamprice commented 7 years ago

Added ability to launch and kill a headless simulator.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.3%) to 96.739% when pulling 13a1a87fcf174afbec3e80217e7a17ac91900ffc on adamprice:master into 0f0b937a8beada6f76b578de17525a8f252b8aa7 on plu:master.

adamprice commented 7 years ago

Any ideas why that test might have failed against only one of the Xcode 7 builds? I don't have an Xcode 7 install to test against unfortunately. It runs and passes consistently for me on my machine with Xcode 8.

plu commented 7 years ago

Thank you for your pull request.

Isn't this doing the same?

https://github.com/plu/simctl/blob/master/lib/simctl/command/boot.rb

There is a boot method also available on a device instance. And there's a shutdown method.

adamprice commented 7 years ago

Haha, you're right. Totally missed that! 😄

plu commented 7 years ago

Nevertheless, thank you for your time and effort you put into writing the code and tests, it looked great! If the functionality wasn't there already I'd have merged it.