Created
April 10, 2018 13:48
-
-
Save igorcferreira/d659124c8e145c0fb6f17207ec58b8d9 to your computer and use it in GitHub Desktop.
Script to kill Xcode derived data
This file contains 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
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