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