The Lion, the Witch and the Xcode

…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’

Don’t panic!

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.

10 comments

  1. Robin says:

    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).

    • Eric says:

      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!!

    • Webchen says:

      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!

  2. Michael says:

    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.

  3. 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.

  4. Arvind says:

    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. 🙂

Leave a Reply to Cam Adams Cancel reply

Your email address will not be published. Required fields are marked *