MAC OSX Xcode HDD cleanup

Source: Internet
Author: User
Tags tmp folder

1. Removal of 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

2. Removing the old version 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

New Xcode path: ~/library/developer/coresimulator/devices

3. 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 as an example)

4. Remove the apps installed in the simulator
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 as an example)

5. Removal of archives
Impact: Not recoverable, adhoc or App Store version will be deleted. Recommended Backup dSYM Folder
Path: ~/library/developer/xcode/archives
6. Removal of 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

7. Removal of old docsets
Impact: Unrecoverable; the old docsets document will be deleted
Path: ~/library/developer/shared/documentation/docsets

MAC OSX Xcode HDD cleanup

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: 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.