Guides › Xcode

Xcode folders

What Xcode keeps on your Mac, which folders are safe to delete, and what you lose.

FolderSafe to delete?
~/Library/Caches/com.apple.dt.Xcode
Temporary files
Safe
~/Library/Developer/CoreSimulator/Caches
Pretend device speed-up files
Safe
~/Library/Developer/CoreSimulator/Devices
Pretend iPhones and iPads
Check first
~/Library/Developer/CoreSimulator/Devices/*
One pretend device
Check first
~/Library/Developer/CoreSimulator/Volumes
Pretend device systems
Check first
~/Library/Developer/Xcode/Archives
Finished app builds
Check first
~/Library/Developer/Xcode/DerivedData
Working files for app projects
Rebuilds itself
~/Library/Developer/Xcode/DocumentationCache
Help pages copy
Rebuilds itself
~/Library/Developer/Xcode/iOS DeviceSupport
iPhone system copies
Rebuilds itself
~/Library/Developer/Xcode/Products
Exported app copies
Check first
~/Library/Developer/Xcode/tvOS DeviceSupport
Apple TV system copies
Rebuilds itself
~/Library/Developer/Xcode/UserData/IB Support
Screen designer helpers
Rebuilds itself
~/Library/Developer/Xcode/UserData/Previews
Live preview devices
Rebuilds itself
~/Library/Developer/Xcode/visionOS DeviceSupport
Vision Pro system copies
Rebuilds itself
~/Library/Developer/Xcode/watchOS DeviceSupport
Apple Watch system copies
Rebuilds itself
~/Library/Developer/XCPGDevices
Playground devices
Rebuilds itself
~/Library/Developer/XCTestDevices
Testing devices
Rebuilds itself

Clean up Xcode with Gigabroom

  1. Open Gigabroom and wait for the scan.
  2. Open Clean Up and look under the group for these folders. Every folder above is named and labeled (Safe, Rebuilds itself, Check first, Keep).
  3. Tick what you want to remove and click Clean Up. Items go to the Trash first.