Skip to content

Instantly share code, notes, and snippets.

@igorcferreira
Created April 10, 2018 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorcferreira/d659124c8e145c0fb6f17207ec58b8d9 to your computer and use it in GitHub Desktop.
Save igorcferreira/d659124c8e145c0fb6f17207ec58b8d9 to your computer and use it in GitHub Desktop.
Script to kill Xcode derived data
function killdd() {
if pgrep -x "Xcode" > /dev/null
then
killall Xcode
fi
rm -rf ~/Library/Developer/Xcode/DerivedData
open $(xcode-select --print-path)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment