Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I re-installing Xcode 4.1 for Lion?

I downloaded Xcode 4.1 via App Store to install on my system. Maybe because I had 3.x installed or maybe because of an internet glitch, I got it downloaded, ran Xcode Install, but when I tried to launch Xcode crashed immediately.


I assumed it was corrupted, since I found this in the trace:


Application Specific Information:

ProductBuildVersion: 4B110

UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Couldn't load plug-in 'com.apple.dt.IDE.IDEiPhoneSupport' while firing fault for extension 'Xcode.Device.iPhoneSimulator'

UserInfo: {

NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x400d998a0 {DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEiPhoneSupport, DVTPlugInExecutablePathErrorKey=/Developer/Platforms/iPhoneOS.platform/Develope r/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin/Contents/MacOS/IDEiPho neSupport, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Priva tePlugIns/IDEiPhoneSupport.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.IDE.IDEiPhoneSupport\U201d at path \U201c/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlu gIns/IDEiPhoneSupport.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x400372ec0 \"The bundle \U201cIDEiPhoneSupport\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}";

}


Not seeing how to uninstall it properly, I just went ahead and deleted everything in /Developer (and /Developer.old, my previous install). I assumed I'd be able to reinstall it over the top again. Dumb assumption, because App Store shows it "Installed" and I don't know what to do to clean up and reinstall it again.


Any help appreciated!

MacBook Pro, Mac OS X (10.7), 2.4 GHz Intel Core 2 Duo, 4 GB RAM

Posted on Jul 20, 2011 7:02 PM

Reply
4 replies

Jul 20, 2011 7:48 PM in response to Dah•veed

Ah, just figured it out. Turns out the Xcode Installer app didn't get deleted after all upon installation. It was still there when I looked through everything listed in Launchpad. I reran it, and this time it installed things well enough so that Xcode starts up completely.


Thanks for your help anyway, Dahveed.

Feb 10, 2012 2:27 PM in response to Kohlab

I experienced this when migrating my dev tools to a 2008 MacBook and upgrading to Lion. Actually repeated the process several ways and even tried re-running the XCode installer. Spotted something on another site and tried downloading and re-installing iTunes (which contains some libraries to communicate with iOS devices) and that did the trick. Just wanted to add that here in case someone has no luck re-running the installer.

How do I re-installing Xcode 4.1 for Lion?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.