Created
March 11, 2014 18:01
-
-
Save vickeryj/9491419 to your computer and use it in GitHub Desktop.
Script to reset iOS simulator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "iPhone Simulator" | |
activate | |
end tell | |
tell application "System Events" | |
tell process "iPhone Simulator" | |
tell menu bar 1 | |
tell menu bar item "iOs Simulator" | |
tell menu "iOs Simulator" | |
click menu item "Reset Content and Settings…" | |
end tell | |
end tell | |
end tell | |
tell window 1 | |
click button "Reset" | |
end tell | |
end tell | |
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
osascript ~/bin/reset_sim | |
sleep 5 | |
~/Code/ipad-register/integration/framework/charles-install-cert.command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment