And if you struggle with Xcode claiming large amounts of disk space:
1. Use DevCleaner[0] to remove old/unnecessary device support files.
2. Remove platforms you don't develop for, e.g.
- rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/Watch*
- rm -rf /Applications/Xcode.app/Contents/Developer/Platforms/AppleTV*
DevCleaner freed up 10G+ for me the first time, the two rm commands above free up ~3G each.