我在这里粘贴了跟踪日志.任何帮助如何解决这个将不胜感激.谢谢.
日志
Application Specific Information:
ProductBuildVersion: 4H512
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key ‘delegateClass’ of extension ‘Xcode.IDEiPhoneOrganizer.MenuDefinition.Screenshots’ in plug-in ‘com.apple.dt.IDE.IDEiPhoneSupport’
UserInfo: {
NSUnderlyingError = “Error Domain=DVTPlugInErrorDomain Code=2 \”Loading a plug-in Failed.\” UserInfo=0x4031d3980 {DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEiPhoneSupport,DVTPlugInExecutablePathErrorKey=/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin/Contents/MacOS/IDEiPhoneSupport,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=/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin,NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.IDE.IDEiPhoneSupport\U201d at path \U201c/Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged.,NSUnderlyingError=0x401bb9100 \”The bundle \U201cIDEiPhoneSupport\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\”}”;
}
解决方法
我找到的最佳解决方案是对我的Yosemite驱动器进行分区,并在新分区上安装Mavericks和旧版Xcode.请注意,您必须从外部驱动器或USB记忆棒安装Mavericks.我跟着these instructions.