calabash/calabash-ios — pull request #359 by jmoody (2014-04-28 01:14:38+00:00)
Title: should be able to reset the simulator content and settings

## motivation

- [ ] @krukow needs review

The applescript implementation was not working for iOS 6.1 - the 'Reset' button was not touched. This script also installed "EmptyAppHack.app" on each of the available iOS SDKs which was very strange.

The reset can be done without the UI.

```
# resets the simulator content and settings. it is analogous to touching
# the menu item.
#
# it works by deleting the following directories:
#
# * ~/Library/Application Support/iPhone Simulator/Library
# * ~/Library/Application Support/iPhone Simulator/Library/[-64]
#
# at the next launch of the iOS Simulator these directories will be
# recreated.
```

This is a little controversial:

* we are deleting files from the user's drive
* it is not clear that this will work on future versions of Xcode

I actually think that this command should be deprecated.

Let another tool (like briar, ios-sim, or xctool) handle this. I don't believe that this is essential to the calabash-ios workflow.