Is it safe to delete Xcode Products?

~/Library/Developer/Xcode/Products · Safe to delete

What it is

Built products Xcode keeps for some build actions.

Can you delete it?

Yes, it is rebuilt automatically. Xcode writes it again the next time you run those actions, such as building for previews or profiling. Nothing of your source or settings lives here.

How to clean it safely

  1. Quit Xcode and delete the folder.

How big is it on your Mac?

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

 Terminal
du -sh ~/"Library/Developer/Xcode/Products" 2>/dev/null

Step-by-step guide: Clean up Xcode →

Questions

Is it safe to delete ~/Library/Developer/Xcode/Products?

Yes, it is rebuilt automatically. Xcode writes it again the next time you run those actions, such as building for previews or profiling. Nothing of your source or settings lives here.

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