How to delete Xcode archives without losing important dSYMs
An .xcarchive is not ordinary cache. It can contain the exact app build and debug symbols needed to symbolicate crash reports.
What an Xcode archive contains
- The built app or product prepared for distribution.
- Debug symbol files associated with that build.
- Archive metadata used by Xcode Organizer.
Deleting an archive does not delete source code, but rebuilding the same commit may not recreate identical symbols. A shipped archive deserves different treatment from disposable Derived Data.
Find how much space archives use
du -sh ~/Library/Developer/Xcode/Archives open ~/Library/Developer/Xcode/Archives
The first command measures the default archive folder. The second opens it in Finder. Use Xcode Organizer to match each archive to its app, version, and date.
A safe retention decision
| Archive | Recommendation |
|---|---|
| Current App Store or customer build | Keep it or verify its dSYM is retained elsewhere. |
| Active TestFlight/beta build | Keep while testers may report crashes. |
| Old internal build never distributed | Usually removable after review. |
| Unknown provenance | Do not delete until identified. |
Delete through Organizer
- Open Xcode → Window → Organizer.
- Select Archives and the correct app.
- Review version, build number, date, and distribution status.
- Back up a needed
.xcarchivebefore removal. - Delete only the selected obsolete archive.
~/Library/Developer/Xcode/Archives removes every local archive at once, including symbols for shipped builds. Age alone is not proof an archive is safe to discard.Archive vs Derived Data
Derived Data contains rebuildable indexes and intermediates; an archive represents a distribution build. Start with Derived Data cleanup, then review unused Simulator runtimes. The developer storage guide covers other tools.
Review before cleanup.TrimyMac helps identify large folders while keeping deletion decisions under your control.
Source
Archive behavior was checked against Apple's Xcode Organizer documentation on September 14, 2026.