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.

This entry was posted in Software Development, Tips'n'Tricks and tagged , , , . Bookmark the permalink.

10 Responses to The Lion, the Witch and the Xcode

  1. Calvin says:

    Excellent. Thank you. Worked for me. Stupid Xcode.

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

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

  4. Cam Adams says:

    You ripper. Thanks!

  5. Fabianx says:

    It works! Very great!

    Would have never thought of installing Xcode twice …

    Thanks,

    Fabian

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

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

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>