Johan de Klerk
Johan de Klerk

Reputation: 2535

Reset iOS Simulator with Applescript

Im trying to reset the iOS-Simulator using AppleScript. When I just run a script to Reset Content and Settings it just resets the current version of the iOS-Simulator (e.g. 6.0). I need to reset each iOS version in the iOS Simulator to remove all the apps. I can only use Applescript and cant delete the apps from the Simulator using bash (deleting the app folders)

Thanks

Upvotes: 0

Views: 860

Answers (2)

M-P
M-P

Reputation: 4959

Stian's script has not been updated for iOS 7 and the dialog isn't necessarily useful for build scripts. I've borrowed heavily from his code and written a version that is relatively future-proof to new devices and iOS versions.

https://github.com/michaelpatzer/ResetAllSimulators

Upvotes: 0

Related Questions