xcode5.0.2 无法打开

不同的xcode版本对应不同的mac系统,最近更新了mac系统,升级了xcode由4.5到xcode5.0.2,打开xcode的时候,出现以下错误:

 

Process: Xcode [284]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 5.0 (3332.25)Build Info: IDEApplication-3332025000000000~2App Item ID: 497799835App External ID: 38302662Code Type: X86-64 (Native)Parent Process: launchd [142]User ID: 501Date/Time: 2013-09-27 16:24:54.365 -0700OS Version: Mac OS X 10.8.5 (12F37)Report Version: 10Crashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:ProductBuildVersion: 5A1413UNCAUGHT 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=0x7ff6b1ec5430 {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=0x7ff6b1ec2630 \"The bundle \U201cIDERepositoryViewer\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}";}Hints: NoneBacktrace: 0 0x00007fff82a7faee __exceptionPreprocess (in CoreFoundation) 1 0x0000000101080c23 DVTFailureHintExceptionPreprocessor (in DVTFoundation) 2 0x00007fff8142f3f0 objc_exception_throw (in libobjc.A.dylib) 3 0x000000010100ebd2 -[DVTExtension valueForKey:] (in DVTFoundation) 4 0x00007fff825e85a9 -[NSFunctionExpression expressionValueWithObject:context:] (in Foundation) 5 0x00007fff82670578 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] (in Foundation) 6 0x00007fff82670493 -[NSPredicate evaluateWithObject:] (in Foundation)....(much more follows .. if more is needed, let me know)

 

 

解决办法:

进入/Applications/Xcode.app/Contents/PlugIns

移除IDERepositoryViewer.ideplugin

然后重启xcode5.0就可以了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值