Reclaim disk space by deleting old iOS simulators and Device Support files

Published by donnywals on

After using a MacBook that runs Xcode for a few years it's likely that your disk space is starting to fill up good. A large part of this disk space can be occupied by Device Support files that are used by Xcode for older iOS versions, or by iOS simulators that are no longer available on your machine.

To clean these files up you can do the following:

  • Go to your Terminal and type open ~/Library/Developer/Xcode/iOS\ DeviceSupport
  • Delete folders for iOS versions that you no longer need to support.
  • Do the same with open ~/Library/Developer/Xcode/watchOS\ DeviceSupport
  • Clean up unavailable simulators using by typing xcrun simctl delete unavailable in your Terminal

When I ran these commands on a machine that got a clean install when macOS Catalina came out I was able to free up 15Gb of disk space. So that's 15Gb of space after about 8 months of use. Pretty good, right?


25% off Practical Combine until June 30th!

Learn everything you need to know about Combine and how you can use it in your projects with my new book Practical Combine. You'll get eleven chapters, a Playground and a handful of sample projects to help you get up and running with Combine as soon as possible.

The book is available as a digital download for just $18.74!

Get Practical Combine

Receive weekly updates about my posts

Categories: Quick Tip