在更新到OS X Mavericks后,我无法启动Xcode 5.0.1。请帮忙。
以下是崩溃报告中的消息:
Application Specific Information:
ProductBuildVersion: 5A2053
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'delegateClass' of extension 'Xcode.RepositoriesViewer.MenuDefinition.HelpContextualMenu' in plug-in 'com.apple.dt.IDE.IDERepositoryViewer'
UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x7ff8bf440f10 {DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDERepositoryViewer, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/IDERepositoryViewer.ideplugin/Contents/MacOS/IDERepositoryViewer, 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=/Applications/Xcode.app/Contents/PlugIns/IDERepositoryViewer.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.IDE.IDERepositoryViewer\U201d at path \U201c/Applications/Xcode.app/Contents/PlugIns/IDERepositoryViewer.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7ff8bf43c8e0 \"The bundle \U201cIDERepositoryViewer\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}";
答案 0 :(得分:10)
我这样解决了:
转到
/Applications/Xcode.app/Contents/PlugIns
并删除以下目录(可能应先备份)
IDERepositoryViewer.ideplugin
在此之后,我可以开始使用Xcode。也许这个解决方案有一些限制,但我现在没有看到任何限制。
答案 1 :(得分:1)
我今天早上将双Xcode系统升级到Xcode 5.0.2。我将/ Xcode 4.6.3 in / Applications命名为“Xcode”,将Xcode 5.0命名为“Xcode5”。升级后,我只有“Xcode”,它在启动时崩溃,IDERepositoryViewer.ideplugin也出现了同样的错误
查看插件的version.plist文件,我看到键“CFBundleShortVersionString”的值为“4.6.3”,所以我认为它以某种方式保留了Xcode 4.6.3的插件。
删除后,Xcode 5.0.2运行正常。
答案 2 :(得分:-2)
我认为你必须检查构建路径。