Skip to content

Instantly share code, notes, and snippets.

@Geoffrey-T
Created October 5, 2017 09:20
Show Gist options
  • Save Geoffrey-T/47ddb859c4af656d37725a899e46dace to your computer and use it in GitHub Desktop.
Save Geoffrey-T/47ddb859c4af656d37725a899e46dace to your computer and use it in GitHub Desktop.
[XCODE] Clean derived Data script
# Copy this function in your ~/.bashrc file.
# execute `source ~/.bashrc` or open a new terminal
cleanXcode () {
DIR=~/Library/Developer/Xcode/DerivedData/
cd $DIR
ls
rm -r -- "$DIR"*
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment