Skip to content

Instantly share code, notes, and snippets.

@danieljimenez
Created April 19, 2017 20:32
Show Gist options
  • Select an option

  • Save danieljimenez/a5fa27566b9bdc7d5096c76c866a70ac to your computer and use it in GitHub Desktop.

Select an option

Save danieljimenez/a5fa27566b9bdc7d5096c76c866a70ac to your computer and use it in GitHub Desktop.
#!/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