Guides · Xcode
Can you delete old Xcode archives? What to keep before you do
Every Product › Archive leaves a copy of your app and its debug symbols in your Library, and Xcode never removes one. Most of them can go. The ones for versions people still run are worth keeping.
Short answerYes, with care. Archives live in ~/Library/Developer/Xcode/Archives, one for each time you chose Product › Archive. Each holds the app and its dSYMs, the symbols that turn crash reports from that exact build into readable stack traces. Keep the archive of every version people still run. Delete test builds you never shipped, betas your testers have moved on from, and old versions nobody runs.
What's in an archive
~/Library/Developer/Xcode/Archives/
2026-11-19/
MyApp 19-11-26, 3.32 PM.xcarchive/
Info.plist app name, version, build, date
Products/ the signed app
dSYMs/ debug symbols for this exact build
There is one folder per day, and in it one .xcarchive per archive. The name usually carries the date and time, not the version, so two archives of different versions can look alike in Finder. The version and build are in each archive's Info.plist, which the command further down reads for you.
On the Mac this guide was written on, archives were 60 to 180 MB each, about 1 GB for seven. Apps with many frameworks or large assets make bigger ones, and the total grows with every build you archive.
What you lose when you delete one
- Readable crash reports for that build. A crash report lists addresses. The dSYM from the same build turns them into function names and line numbers. Every build gets its own ID, so a dSYM from another build of the same version doesn't fit.
- The exact build itself. From an archive, Xcode's Organizer can export or upload the same build again. Without it, you build again from source.
What you don't lose: your source code, your project, and anything already in App Store Connect. Deleting a local archive doesn't touch builds you uploaded. If you send dSYMs to a crash-reporting service, it keeps its own copy, and you can be bolder.
Which to keep
| Archive | Keep it? |
|---|---|
| The version on the App Store or your website now | Keep. |
| Older versions people may still run | Keep until crash reports for them stop arriving. Some users never update, and some devices can't run your newest version. |
| TestFlight builds testers still have | Keep while that build is being tested. |
| The same version and build archived twice | Keep the one you uploaded. The other one's dSYMs match nothing in anyone's hands. If you can't tell which, keep both. |
| Test archives you never distributed | Delete. |
| Versions nobody runs any more | Delete, or move them to an external drive if you want a record. |
List your archives by app, version and build
Finder shows dates. This prints what's actually in each archive, sorted by app:
find ~/Library/Developer/Xcode/Archives -maxdepth 2 -name '*.xcarchive' | while read -r a; do
p="$a/Info.plist"
name=$(/usr/libexec/PlistBuddy -c 'Print :Name' "$p")
ver=$(/usr/libexec/PlistBuddy -c 'Print :ApplicationProperties:CFBundleShortVersionString' "$p")
build=$(/usr/libexec/PlistBuddy -c 'Print :ApplicationProperties:CFBundleVersion' "$p")
size=$(du -sh "$a" | cut -f1)
printf '%-24s %-10s %6s %s\n' "$name" "$ver ($build)" "$size" "$(basename "$(dirname "$a")")"
done | sort
MyApp 1.0 (1) 182M 2026-11-17
MyApp 1.0 (2) 182M 2026-11-18
MyApp 1.0.1 (4) 182M 2026-11-19
In Xcode, Window › Organizer › Archives shows the same list by app. Right-click an archive and choose Show in Finder to find its folder.
How to delete them
- Decide with the list above, using the table.
- Move the archives you don't need to the Trash, in Finder or in Terminal on macOS 15 and later:
A date folder left empty can go too.trash ~/Library/Developer/Xcode/Archives/2026-04-01/"MyApp 01-04-26, 9.37 PM.xcarchive" - Empty the Trash when you're sure. Until then, a mistake can be put back.
If you want the symbols but not the rest, copy an archive's dSYMs folder somewhere safe before deleting it. It saves less than you might expect: in one archive checked for this guide, the dSYMs were 62 MB of 182 MB.
Archives, by app and version
DevSweep lists each archive by app name, version and build with the date it was made, labels every one Review first and never ticks them for you. What you pick goes to the Trash, and History can put it back.