In the user Library, there is a Developer folder with about 3.2 GB of space (2.8GB from DocSets and the rest mainly from Xcode/iOS DeviceSupport). I had Xcode installed, I presume these are from that? I no longer use Xcode, is there any downside to erasing these folders? If I install Xcode again wouldn't it restore what is needed?
Is it safe to erase ~Library/Developer
deletingxcode
Related Question
- 2 instances of Xcode installed
- MacOS – Uninstalled XCode still paused in ‘Purchases,’ will not resume or delete
- Xcode Classroom – Xcode on Classroom Image Asks Students for Admin Password
- MacOS – Trying to install Command Line Tools without Xcode
- macOS Security – Chinese Username Writing Files into ‘Users’ Folder
- Xcode – Annoying Prompt: The cc Command Requires the Command Line Developer Tools
Best Answer
If the only two directories you have in ~Library/Developer are Xcode and Docsets (or Shared/Docsets) then you should be safe to delete that folder. If you did re-install XCode you would get them (or updated versions) back.