From Mugunth Kumar, a small script for cleaning up Xcode when it becomes too slow…
rm -r ~/Library/Application\ Support/iPhone\ Simulator/5.1/Applications mkdir ~/Library/Application\ Support/iPhone\ Simulator/5.1/Applications rm -r ~/Library/Developer/Xcode/DerivedData mkdir ~/Library/Developer/Xcode/DerivedData
In the associated gist, there is also a proposal to clean the older SDKs versions.
I’ve added a Growl notification to my script, and I will use it with Alfred. If you don’t know yet Alfred, think of Spotlight on steroids. Buy the free version on the Mac App Store, and the £15 Powerpack on the Alfred web site, you won’t regret it.
Speaking of Mugunth Kumar, don’t miss the second part of his RESTful series - Doing it the right way.