Saturday, 14 May 2016

How to clean xcode cache

Xcode create a huge memory cache/dump on hard disk that often makes your computer slow !

To clean this, go to Terminal and run following command

 cd /Users/macdev/Library/Developer/Xcode/DerivedData
 rm -fr <Dir-name>


Tip:-
To check disk usage of a directory, run following command:-

du -sh *

Hope this helps, cheers (*_*)