Is it safe to delete Xcode cache?

~/Library/Caches/com.apple.dt.Xcode · Safe to delete

What it is

Xcode's own cache: downloaded documentation indexes and other temporary data.

Can you delete it?

Yes, it is rebuilt automatically. Xcode rebuilds it when needed.

How to clean it safely

  1. Quit Xcode.
  2. Delete the folder's contents.

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/"Library/Caches/com.apple.dt.Xcode" 2>/dev/null

Step-by-step guide: Clean up Xcode →

Questions

Is it safe to delete ~/Library/Caches/com.apple.dt.Xcode?

Yes, it is rebuilt automatically. Xcode rebuilds it when needed.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac