xCode crashes ” internal error” at start up. What now?
These are some fast scratched notes on how I am trying to solve this.
fix disk permissions – no luck
cleaned caches – no fix
cleaned prefs – no fix
used Lion cache cleaner — no luck
clean install of dev tools (i deleted dev tools manually and tried reinstall — but that didn;t fix it — makes sense — so my bad).
1) REMOVE. in Terminal:
/Library/Developer/4.2.1/uninstall-devtools --mode=all
you need to be admin and may need to prefix with sudo:
sudo /Library/Developer/4.2.1/uninstall-devtools --mode=all
check your version.
(see: http://stackoverflow.com/questions/7873991/how-to-remove-xcode-4-2-and-install-4-1-to-develop-ruby-rails-on-osx-lion)
2) app store and get it again — app store download an installer — not the app. SO, if app store says you have xCode — find the install xCode file lurking on your drive (likely in downloads) — delete it. App store will tell you you don;t have it anymore and get you a new installer.
all else fails — as of Nov. 17, 2011 4.1 avaialble here:
https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/747/wo/w0bCT1D8XzaH2gYfb6Gjg0/3.3.3.1.1.2.1.1.3.1.1
need dev ID, its not linked publically, but seems to work.