Skip to content

Instantly share code, notes, and snippets.

View mikaelbartlett's full-sized avatar

Mikael Bartlett mikaelbartlett

  • Wagestream
  • Alicante, Spain
View GitHub Profile
@mikaelbartlett
mikaelbartlett / cleanup.sh
Created April 4, 2012 05:31
Panacea for slow Xcode
#!/bin/sh
for f in $(ls -p ~/Library/Application\ Support/iPhone\ Simulator/| grep '/') ; do
if [ "$f" != 'User/' ]; then
echo "$f"
rm -r ~/Library/Application\ Support/iPhone\ Simulator/$f
mkdir ~/Library/Application\ Support/iPhone\ Simulator/$f
fi
done
rm -r ~/Library/Developer/Xcode/DerivedData