I am running low on disk space and checked through a third party utility that among other things that ~/Library/Developer/Xcode/DerivedData directory is taking about 22GB of disk space.
I searched stackoverflow and found this post
What can I safely delete in my ~/Library/Developer/Xcode/DerivedData directory?
The accepted answer to this question suggests that I should not touch / remove folders from this directory. so what I did was
Xcode7.3 Update For remove particuler project's DeriveData you just need to follow the following steps:
Window -> Project:
You can find the list of project and you can either go the
DerivedData Folder or you can direct delete individual Project's
Yes, you can delete all files from
(Not DerivedData Folder) directly.
That will not affect your project work. Contents of
DerivedData folder is generated during the build time and you can delete them if you want. It's not a issue.
The contents of
DerivedData will be recreated when you build your projects again.
I am not working on Xcode5 but in 4.6.3 you can find
DerivedData folder as found in the below image:-
After clicking on Preferences..
You get this window