What's safe to delete
| Folder | Safe? |
|---|---|
~/Library/Developer/Xcode/DerivedData | Yes. Rebuilt on the next build, which is slower once. |
~/Library/Developer/Xcode/iOS DeviceSupport | Yes, for iOS versions you no longer test on. Re-copied when you plug that device in. |
| Unavailable simulators | Yes: xcrun simctl delete unavailable |
| Old simulator runtimes | Yes, if you don't test on that iOS version: xcrun simctl runtime list, then xcrun simctl runtime delete <id> |
~/Library/Developer/Xcode/Archives | Careful. They hold the symbols you need to read crash reports from shipped versions. |
Keep the archives of anything you've shipped. Without them, crash reports from that version can't be read.