How to reclaim Xcode disk space on a Mac by clearing build data, simulators and runtimes
Xcode accumulates build data, simulators, device support files and archives for every project and device it has used, and rarely removes them on its own. Most of this material sits in the ~/Library/Developer folder, which Finder hides by default. Build data and simulator caches can generally be deleted safely, since Xcode rebuilds them when needed, though later builds will be slower. Simulators, archives and iOS device support files are a matter of choice, and unavailable simulators or old device support folders can be removed with Terminal commands or through Xcode's settings. Simulator runtimes, which are often the largest items, can be deleted from Xcode's Components pane or via the command line, though the newest runtime for each platform should be kept.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in