Reboot Xcode without user data
#!/bin/sh
#
# Help to clear all the user data. (close actual, clear and then reopen)
# Added because XCode 6.3 CRASH ALL THE TIME BECAUSE OF THIS! AGHR!
#
PROJECT_PATH=/something
PROJECT_NAME=aaa
killall -9 Xcode
rm -rf $PATH/$PROJECT_NAME.xcworkspace/xcuserdata
rm -rf $PATH/$PROJECT_NAME.xcodeproj/xcuserdata
open $PATH/$PROJECT_NAME.xcworkspace