Skip to content

Instantly share code, notes, and snippets.

@wyudong
Created September 10, 2016 03:48
Show Gist options
  • Save wyudong/fbca2518e1beff8f451c52a66f86ab77 to your computer and use it in GitHub Desktop.
Save wyudong/fbca2518e1beff8f451c52a66f86ab77 to your computer and use it in GitHub Desktop.
Free up disk space from Xcode

Free up disk space from Xcode

These items can be deleted safely.

iOS Device Support

In Finder: ~/Library/Developer/Xcode/iOS DeviceSupport/

Derived Data

In Finder: ~/Library/Developer/Xcode/DerivedData/

Archives

In Xcode: Xcode > Organizer > Archives

or Finder: ~/Library/Developer/Xcode/Archives/

Simulators

In CLI:

$ xcrun simctl list devices
$ xcrun simctl delete unavailable
$ xcrun simctl delete <id>

or Xcode: Xcode > Window > Devices > SIMULATORS

or Finder: ~/Library/Developer/CoreSimulator/Devices/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment