Skip to content

Instantly share code, notes, and snippets.

@alanzeino
Created August 7, 2017 18:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanzeino/0a421075385408fb71032eba7bef518f to your computer and use it in GitHub Desktop.
Save alanzeino/0a421075385408fb71032eba7bef518f to your computer and use it in GitHub Desktop.
Xcode Post–Upgrade Clean
$ sudo rm -rf ~/Library/Caches/com.apple.dt.Xcode \
rm -rf ~/Library/Developer/Xcode/DerivedData \
sudo rm -rf "$(getconf DARWIN_USER_CACHE_DIR)org.llvm.clang.$USER/ModuleCache" \
sudo /usr/libexec/xpccachectl
@shepting
Copy link

Is that /usr/libexec/xpccachectl a fix for a particular issue you noticed on Xcode upgrades?

@shepting
Copy link

@alanzeino The OS version I was logged into looked like the command was sudo /usr/libexec/xpchelper --rebuild-cache does that sound the same, or like something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment