Safe to Delete

Xcode Archives Folder (~/Library/Developer/Xcode/Archives)

Quick Answer: The Archives folder stores compiled app build packages (.xcarchive) generated for App Store submission. Deleting old archives is safe.

Bottom Line: It is 100% safe to delete old .xcarchive packages in Xcode Archives. Deleting past archives will NOT delete your Xcode app source code (.xcodeproj, .swift) or active App Store deployments.


What is the Xcode Archives Folder?

Located at ~/Library/Developer/Xcode/Archives on macOS, this directory is created by Xcode when iOS and macOS developers build app release packages.

When you select Product > Archive in Xcode to submit an app to App Store Connect or TestFlight, Xcode compiles your project into a .xcarchive bundle containing dSYM debug symbols, app binaries, and bitcode.

Each archive weighs 200 MB to 2 GB. Over years of iOS app development, hundreds of old build archives hoard 20 GB to 60 GB+ of Mac SSD storage.


Can You Delete Xcode Archives?

✅ Yes, it is safe to delete.

  • No source code loss: Your .swift code files, asset catalogs, and Git commit history remain 100% safe.
  • Redownload symbols: Published app archives submitted to App Store Connect have their dSYM symbols saved in Apple’s cloud portal.

How to Safely Clean Up Xcode Archives

  1. Open Xcode.
  2. Go to Window > Organizer.
  3. Select Archives tab on the left sidebar.
  4. Select old app versions, right-click, and select Delete Archive….

Method 2: Manual Terminal Purge

rm -rf ~/Library/Developer/Xcode/Archives/*

Discussion

Loading authentication...

Related in developer

The AI Engineer's Model Disk Cleanup Guide: Hugging Face, Ollama & PyTorch

The ultimate 1,200-word field guide for AI developers and local LLM hobbyists to reclaim 200GB+ from Ollama, Hugging Face, PyTorch, and vLLM model weights.

Safe to Delete

Android Studio System Index Cache (AndroidStudio Cache)

Android Studio caches Gradle project indexes, VFS caches, and compiler artifacts. Invalidate and clear is safe.

Safe to Delete

Ansible Automation Temp & Fact Cache (~/.ansible/tmp)

Ansible stores temporary playbook execution modules and target host fact JSON caches in ~/.ansible/tmp. Clearing Ansible tmp is safe.

Safe to Delete
Back to all files