Created
November 29, 2016 12:13
-
-
Save ctreffs/696899ec610d40518f73f88415716978 to your computer and use it in GitHub Desktop.
clearDeveloperCache
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 | |
# Script to remove all Xcode DeveloperTools Cache files, | |
# provided Xcode is set to default folder locations | |
printf "clearing Xcode DeveloperTools cache..." | |
rm -rfv /var/folders/**/**/**/com.apple.DeveloperTools/* | |
rm -rfv ~/Library/Caches/com.apple.dt.Xcode/* | |
echo "done" | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment