- Save
Tests.scptto the folder~/.Xcode/ - Open the folder
~/.Xcode/inTerminal.app - Perform the command
chmod +x ./Tests.scptinTerminal.app - Open
Xcode ➭ Behaviors ➭ Testing Succeeds - Choose
~/.Xcode/Tests.scptin the Run popup - Open
Xcode ➭ Behaviors ➭ Testing Failsand repeat
Last active
August 29, 2015 13:59
-
-
Save Shilo/10633955 to your computer and use it in GitHub Desktop.
AppleScript to hide iOS Simulator when you run Xcode Tests.
This file contains hidden or 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
| #!/usr/bin/osascript | |
| tell application "System Events" to tell process "iOS Simulator" to keystroke "h" using command down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment