Developer IDEs
Clear Xcode Cache on Mac
To reclaim space or resolve glitches, you can remove automatic rebuildable files like build products, simulator caches, and debug symbols. These combined with other data typically occupy 10 GB – 100 GB.
Clear the Xcode cache without guessing
Xcode data usually takes 10 GB – 100 GB on a Mac. The free scan shows the exact size on your Mac before you change anything.
Free scan · No account · Nothing is deleted without your OK · Moves to the Trash first · macOS 14+
OptiClear is a Mac app. Copy this page's link and open it on your Mac.
Email me the link- Application
- Xcode
- Typical data size
- 10 GB – 100 GB
- Category
- Developer IDEs
- File Location
~/Library/Developer/Xcode/DerivedData
Clear it from inside Xcode first
The safest way is the option built into the app: Product > Clean Build Folder clears the current project's build products only; it does not touch other projects in DerivedData, simulator runtimes, archives or iOS DeviceSupport.
Xcode cache folders you can clear
These folders are rebuilt automatically, so removing them does not touch your own files.
Locations checked on a Mac with Xcode installed.
Understanding the Xcode cache
Specific to Xcode
The app stores intermediate build files, indexes, and device symbols that grow over time. Clearing helps if builds behave strangely, indexing never finishes, or the simulator list shows many old devices. While some folders hold your own data or settings, others are rebuilt automatically by the system.
What happens after clearing Xcode
Rebuildable caches will regenerate automatically the next time you launch a project. This results in a slower first start and longer initial build times as indexes are recreated. You will not need to sign in again because account settings and certificates remain untouched.
0 of 3 done
- Account and sync
- Developer accounts added in Xcode Settings > Accounts are used for signing; certificates and keys stay in the login keychain, not in Xcode folders.
Try it without risk
- Download and scan for freeSee every Xcode file and its size. No account needed.
- Clean free for 7 daysStart the 7-day free trial of the yearly plan inside the app.
- Keep it or cancelCancel in your App Store settings at least 24 hours before the trial ends and you won't be charged.
After the free trial, Pro costs $39.99 per year in your country's App Store; cancel any time.