The short answer
- 01
Careful. ~/Library/Developer/Xcode/Archives holds every .xcarchive you made with Product > Archive, with its binaries and dSYM files.
- 02
Xcode writes it each time you archive, and never removes old archives.
- 03
You lose the dSYMs: without the archive of a shipped build you may not be able to symbolicate its crash reports, and a rebuild does not produce matching ones.
- 04
The safe way: Window > Organizer > Archives, then delete only archives of builds that never shipped.
See its real size on your Mac. Hoardless measures this folder and previews the delete.Download free trial
What is the Xcode Archives folder?
Archives is where Xcode stores every build you archive for distribution, at ~/Library/Developer/Xcode/Archives. Each .xcarchive sits in a folder named by date. Apple's documentation says that when you archive, Xcode gathers all binaries and dSYM files for your app and stores them inside the Xcode archive.
A dSYM is the debug symbol file for one binary. Release builds keep symbols out of the app to make it smaller, so the dSYM is the only place they exist.
What writes it and why does it grow?
Product > Archive writes it, and so does any CI script that runs xcodebuild archive on your Mac. Every archive is kept until you delete it.
- One archive per build: each release, TestFlight build and test archive adds a full copy of the app, its frameworks and their dSYMs.
- Every binary has its own dSYM: Apple notes that the main app, each framework and each app extension get separate dSYM files, so apps with many extensions archive larger.
How big does the Archives folder get?
It grows with the number of builds you archive and the size of your app, so there is no typical size. Check your own:
du -sh ~/Library/Developer/Xcode/Archives
Prints the total. Removes nothing.
du -sh ~/Library/Developer/Xcode/Archives/* | sort -h
Shows the size of each date folder, largest last. Removes nothing.
Is it safe to delete Xcode Archives?
Apple is direct about it: you must retain the Xcode archive for each build of your app you distribute. Without it you might not be able to read crash reports from that build.
| What | Verdict | What you lose |
|---|---|---|
| Archives of builds that never shipped | Safe | Nothing you need. Test and duplicate archives can go. |
| Archives of shipped builds whose dSYMs you saved elsewhere | Careful | The ability to re-export or re-upload that exact build. Check the saved dSYMs match first. |
| Archives of shipped builds, no other copy of the dSYMs | Never | Readable crash reports for that build. A rebuild cannot recreate matching dSYMs. |
| The whole Archives folder | Never | Every archive at once, including the ones above. |
To confirm a saved dSYM matches a binary, compare their UUIDs. dwarfdump --uuid prints them for both, and they must be identical.
How do I delete old Xcode archives?
Use Xcode's Organizer first. Choose Window > Organizer, select Archives, pick an app, then right-click an archive and delete it. The Organizer shows each archive's version and build number, so you can tell shipped builds from test ones.
The manual way: open the folder in Finder with Go > Go to Folder and ~/Library/Developer/Xcode/Archives, then drag the date folders or single .xcarchive bundles you no longer need to the Trash. Moving to the Trash keeps a way back until you empty it.
find ~/Library/Developer/Xcode/Archives -name "*.xcarchive" -maxdepth 2
Lists every archive with its date folder. Removes nothing.
What Hoardless does: its Xcode detector lists the Archives folder at the Confirm tier, never Auto, so it is never part of a one-click plan. If you confirm it, the folder moves to the Trash and the move is logged in the undo log.
What comes back and when?
Nothing comes back on its own. Unlike DerivedData, Xcode never recreates an archive. The folder refills only with new archives you make from now on.
If you plan to delete a shipped archive anyway, copy its dSYMs folder (inside the .xcarchive) somewhere safe first.
Keep archives out of one-click cleanups
Hoardless lists Xcode Archives at the Confirm tier beside DerivedData (Auto) and DeviceSupport (Auto), shows each size, and moves only what you confirm to the Trash, logged in the undo log.
14-day full trial. macOS 14 or later.
Questions
Can I delete old Xcode archives?
Yes, for builds you never distributed: test archives, failed uploads and duplicates. Keep every archive of a build that reached users, TestFlight included, unless you have its dSYM files elsewhere.
Can I rebuild a lost dSYM from the same source?
No. Apple says a binary and a dSYM match only when they have identical build UUIDs, and two builds of the same source with different Xcode versions or settings get different UUIDs.
Does deleting DerivedData delete my archives?
No. Archives live in ~/Library/Developer/Xcode/Archives, outside DerivedData. Clearing DerivedData never touches them.
Can I move archives to an external drive?
Yes. An .xcarchive is a folder you can copy elsewhere. Xcode's Organizer lists only archives in the Archives folder, so copy them back when you need to symbolicate.
New guides by email
New guides and Hoardless releases, twice a month at most.
Confirm first. Unsubscribe in one click. Privacy.