Clean Up Xcode Folders to Save Disk Space

How to recover disk space when upgrading Xcode.

6 November 2018
About a 0 minute read.

New versions of Xcode leave behind cruft from old versions. The following directories usually will have some files/directories that can be removed after you upgrade to a new Xcode release.

iOS Device Support

~/Library/Developer/Xcode/iOS DeviceSupport/



On older Xcode versions, check this folder:

~/Library/Application Support/iPhone Simulator/

I hadn’t done a clean-up between Xcode 8.4 and Xcode 10.1. Cleaning up all pre-Xcode 10.1 stuff netted me 93GB. When your drive is only 256GB in the first place, that’s quite a savings.

David Lari
Interests: programming, writing, science, history. You might also find me playing some PC Games.