phlux.us

Blog about hardware and software projects by phluxus

Posts Tagged ‘xcode

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 ‘com.apple.dt.IDE.IDEiPhoneSupport’ 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