Last Updated: July 25, 2019
·
1.152K
· narwen

Want to reset iOS simulator from your terminal?

The motion-dryclean gem will help you.

1) Install it on your project with (I personally use bundler on my RubyMotion projects):
$ gem install motion-dryclean

2) Require it on your Rakefile:
require 'motion-dryclean'

Now you can run 'rake dryclean' everytime you want to reset simulator from your terminal.

$ rake dryclean