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就可以了

你可能感兴趣的:(xcode5.0.2 无法打开)