Sam B
Sam B

Reputation: 27618

Can I delete entire developer folder under Library

I need to update my Xcode 8.2 to Xcode 9. I upgraded my OS to macOs High Sierra 10.13. Then I went to Mac App Store and tried downloading it and the update button keeps spinning for infinity. I searched google and stackoverflow and apparently this is a known bug going back ages. One of the solution suggested that I should delete Xcode application and then try the download/update button again in App Store.

See Here Unable to update to Xcode 8.3

So, if I am going to completely remove Xcode application from my computer then I was thinking I should cleanup my comp and remove unnecessary Xcode files that I don't need and they will be recreated upon a new install. These are huge folders and looks like related to my Xcode development activities. Can I safely delete them?

Upvotes: 18

Views: 18350

Answers (1)

Sam B
Sam B

Reputation: 27618

To answer my own question YES its completely safe to delete ~/Library/Developer folder if you plan to completely remove your existing Xcode and install a new version. Actually its highly recommended you do so. Everything worked and all projects compile.

The newly created one was only 772MB. Come on Apple! What a waste of space that was.

MacBookPro2012:Library$ du -sh Developer
722M    Developer

Upvotes: 28

Related Questions