Blog about hardware and software projects by phluxus

XCode 4 won’t start: Loading a plug-in failed

with 13 comments

I installed XCode 4.2 beta, but decided to leave iOS 5 programming off for now, so I uninstalled and reinstalled XCode 4.02.
However, 4.02 would not start up, but gave an error in the Crashlog:

UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Couldn’t load plug-in ‘’ while firing fault for extension ‘Xcode.Device.iPhone’
UserInfo: {
NSUnderlyingError = “Error Domain=DVTPlugInErrorDomain Code=2 UserInfo=0x200446020 \”Loading a plug-in failed.\” Underlying Error=(Error Domain=NSCocoaErrorDomain Code=3587 UserInfo=0x200443d60 \”The bundle \U201cIDEiPhoneSupport\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\” (dlopen_preflight(/Developer4/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin/Contents/MacOS/IDEiPhoneSupport): Library not loaded: /System/Library/PrivateFrameworks/DeviceLink.framework/Versions/A/DeviceLink\n Referenced from: /Developer4/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin/Contents/MacOS/IDEiPhoneSupport\n Reason: image not found))”;

After some browsing in /System/Library/PrivateFrameworks/ it seemed the DeviceLink.framework was removed by the uninstaller as well.
Now iOS devices didn’t even show up in iTunes!

Reinstalling XCode proved not succesful, but reinstalling iTunes 10.5 beta was. This installed the DeviceLink.framework.



Written by axello

2011-06-20 at 23:19

Posted in Cocoa, devtools

Tagged with

13 Responses

Subscribe to comments with RSS.

  1. I ran into the same problem – reinstalling iTunes 10.5 beta resolved this problem for me, too.
    Thank you very much!

    Fabian Zweidar

    2011-06-30 at 08:41

  2. Had the same problem, but reinstalled iTunes 10.3 instead of 10.5. Almost worked, ran into another problem; suggestion from intertubes was to reinstall Xcode 4.0.2 AGAIN, which I did, and things seem to be working now. Jebus.

    Patrick Mueller

    2011-06-30 at 20:03

  3. Outstanding. Glad I ran across this before attempting a long uninstall / reinstall of XCode.. reinstalling iTunes 10.5 b3 did the trick.



    2011-07-13 at 15:42

  4. Thanks this worked for me as well.


    2011-07-14 at 14:29

  5. Thanks for posting!


    2011-07-19 at 10:42

  6. How I fixed this on the new Retail Lion release:
    The key problem is that your Itunes installation is missing a key component. So we need to reinstall it.
    1) Close Itunes
    2) Use Activity Monitor to stop the ItunesHelper process. Important!
    3) Download Itunes from
    4) Install Itunes once it finishes downloading.


    Open Xcode 4.1 and verify your error is gone. (It was for me.)


    2011-07-20 at 23:39

  7. Did the trick 🙂
    Thank you so much !


    2011-08-01 at 17:12

  8. Nice thread! Helped me fix the same problem!
    Reinstalled iTunes and away I went.


    2011-08-02 at 02:34

  9. Steve56’s steps worked for me too. Thanks!

    Thomas Aylesworth

    2011-08-23 at 22:42

  10. Great post,very enjoyable read,and I agree with most of what you say,and by the way,here is a great info about iPhone Dev Secrets


    2011-09-25 at 13:06

  11. Worked for me, thanks!

    Philippe Lang

    2011-12-15 at 17:53

  12. This also worked for me on Snow Leopard (10.6.8), Xcode 4.1 (4B110f), and iTunes 11.0.2. Thanks!

    Nick Pearson

    2013-02-28 at 23:31

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: