Quick answer
Switch with sudo xcode-select -s, trash unused Xcode apps in /Applications, then purge old folders in ~/Library/Developer/Xcode/Archives.
Where the space goes
Step 1: Point CLI tools at the active Xcode
sudo xcode-select -s /Applications/Xcode.appStep 2: Remove duplicate Xcode.app bundles
Drag old Xcode or Xcode-beta apps to Trash. Empty Trash after confirming builds work with the remaining version.
Step 3: Clean Archives folder
open ~/Library/Developer/Xcode/ArchivesFAQ
Is it safe to delete old Xcode.app bundles?
Yes if you only need one active Xcode. Keep the version matching your App Store / TestFlight requirements; move others to Trash.
Where are Xcode archives stored?
~/Library/Developer/Xcode/Archives — old distribution builds with dSYMs can be many gigabytes each.
Will deleting old Xcode remove simulators?
Removing an old Xcode.app frees the app itself; simulator runtimes may remain until you run simctl delete unavailable or remove runtimes in Xcode settings.
Run this cleanup in SpaceWise
Same targets, Recovery Bin rollback, no Terminal required. Free tier included.