…or maybe it was “The Lion, the Bug and the Xcode“?
Anyway, if you just upgraded your system to Lion, then downloaded the new Xcode from the App Store, tried to run it just to get welcomed by a sparkling crash along the lines of
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Couldn’t load plug-in ‘com.apple.dt.IDE.IDEiPhoneSupport’ while firing fault for extension ‘Xcode.Device.iPhoneSimulator’
Simply go to your Applications folder and re-run the Xcode installer. The second time it’ll get it right, or at least it did for me.
Excellent. Thank you. Worked for me. Stupid Xcode.
Another fix which seems to work for a lot of people (and worked for me) is to run a fresh install of iTunes (no need to remove or uninstall anything – just download the latest iTunes installer and run it).
Wow, thanks for this! The main fix on this post didn’t work for me, but for some reason, despite my skepticism, this worked! Thanks so much!!
The re-installation of iTunes made the deal for me too!
Just download the iTunes Package from Apple, install it (XCode was installed before!)
After the installation the SDK runs smooth again. Finally!
MANY THANKS FOR THAT!
whew! Thanks buddy!
I installed Xcode, it crashed: I upgraded iTunes, Xcode still crashed afterwards. I installed Xcode a second time, and success! Thank you for posting this.
You ripper. Thanks!
It works! Very great!
Would have never thought of installing Xcode twice …
I had this issue on a fresh upgrade to 10.7.3 from 10.6.8, after which I installed Xcode 4.2.1 via the App store. Reinstalling iTunes after Xcode resolved the issue for me.
There was a thread about this on Apple Support.
I’m using Snow Leopard. I have Xcode 3.2 but installed 4.2 in a different directory to test it out. Had the same error but after reinstalling iTunes as mentioned in one of the above comments, Xcode 4.2 works fine. 🙂
Thanks for the blog and for the commenter who posted here. 🙂