Xcode disk space cleanup

Source: Internet
Author: User
Tags tmp folder

Xcode disk space cleanup

My device is the MacBook Air ' Mid 2011,128g SSD. Some storage pressure has recently started, and after cleaning up part of the old files with clean My mac, I decided to do it for Xcode.

Remove support for legacy devices

Impact: Can be regenerated and re-generated automatically when the old device is debugged. I removed 4.3.2, 5.0, 5.1 and other versions of the device support.

Path:~/Library/Developer/Xcode/iOS DeviceSupport

Free space: 3GB

Removing old versions of emulator support

Impact: Unrecoverable; If you need an older version of the emulator, you need to download it again. I removed 4.3.2, 5.0, 5.1 and other old versions of the simulator.

Path:~/Library/Application Support/iPhone Simulator

Free space: 3GB

Removing temporary files from the emulator

Impact: Can be regenerated, if a newer version of the emulator needs to be preserved, but the TMP folder is large. Be assured to delete it, the contents of the TMP folder is not important. In iOS device, the TMP folder may be emptied when there is not enough storage space.

Path: ~/Library/Application Support/iPhone Simulator/6.1/tmp (take iOS Simulator 6.1 for example)

Free space: 2GB

Remove the apps installed in the emulator

Impact: Not recoverable, the apps installed in the corresponding simulator are emptied and deleted if not needed.

Path: ~/Library/Application Support/iPhone Simulator/6.1/Applications (take iOS Simulator 6.1 for example)

Free space: 1GB

Remove Archives

Impact: Not recoverable, adhoc or App Store version will be deleted. Recommended Backup dSYM Folder

Path:~/Library/Developer/Xcode/Archives

Free space: 6GB

Remove Deriveddata

Impact: can be regenerated; The build's project index, build output, and log are deleted. When you reopen the project, it will regenerate and the large project will take some time.

Path:~/Library/Developer/Xcode/DerivedData

Free space: 12GB

Removing the old docsets

Impact: Unrecoverable; the old docsets document will be deleted

Path:~/Library/Developer/Shared/Documentation/DocSets

Free space: 2GB

from:http://www.iwangke.me/2013/09/09/clean-xcode-to-free-up-disk-space/

Xcode disk space Cleanup (GO)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.