Created
April 19, 2017 20:32
-
-
Save danieljimenez/a5fa27566b9bdc7d5096c76c866a70ac to your computer and use it in GitHub Desktop.
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
| #!/bin/bash -ex | |
| killall -9 "xcodebuild" 2>/dev/null || echo "Xcode not running" | |
| killall -9 "Simulator" 2>/dev/null || echo "Simulator not running" | |
| rm -rf '%teamcity.agent.work.dir%/out' | |
| rm -rf '/Users/foreflight/Library/Developer/Xcode/DerivedData' | |
| rm -rf '/Users/foreflight/Library/Application Support/iPhone Simulator/*' | |
| rm -rf '/Users/foreflight/Library/Developer/CoreSimulator/*' | |
| open -a "Simulator" && /bin/sleep 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment