Two years ago, Brent Simmons introduced ded: a handy little alias to deal with Xcode quirks
alias ded='rm -rf ~/Library/Developer/Xcode/DerivedData'
It has been useful, but since recently it was not enough. Sometimes, Xcode will complain about not being able to use the simulator, even if it’s not running.
Or things will just fail randomly and often, leading to frustration and anger.
Eventually, ded was not enough, so here’s my replacement:
alias fuckxcode="pkill -9 -i 'ios simulator|xcode' && rm -rf ~/Library/Developer/Xcode/DerivedData && open http://www.calm.com/breathe"
And I’ll quote Brent again on Bugs:
In the old days, programmers spent hours and days and weeks working very hard, and sometimes brilliantly, on difficult things that no one had ever done before.
These days, programmers spend hours and days and weeks working very hard, and usually unsatisfactorily, on getting around bugs in their platform.
Love the
open
. Nice touch. 🙂In the old days, programmers spent hours and days and weeks working very hard, and sometimes brilliantly, on difficult things that no one had ever done before.
These days, programmers spend hours and days and weeks working very hard, and usually unsatisfactorily, on getting around bugs in their platform.
This comment is so true that makes me cry. I remember programming back in the day and 100% of my time was spent creating code. Today, 20% of my time is spent creating code. The other 80% is fighting the piece of shit called Xcode. I hate Xcode with passion.
You should reach the JetBrains product called AppCode, it’s better