2014-02-26 42 views
3

当我点击'运行'时,无论我的代码如何,Xcode都会立即崩溃。 的崩溃报告说,LLDB插件无法正确读取:由于LLDB,Xcode在试图运行项目时崩溃

Error getting value for key 'workerClass' of extension 'Xcode.DebuggerFoundation.Debugger.LLDB' in plug-in 'com.apple.dt.dbg.DebuggerLLDB' 

的崩溃报告:

Process:   Xcode [2184] 
Path:   /Applications/Xcode.app/Contents/MacOS/Xcode 
Identifier:  com.apple.dt.Xcode 
Version:   5.0.2 (3335.32) 
Build Info:  IDEApplication-3335032000000000~4 
Code Type:  X86-64 (Native) 
Parent Process: launchd [147] 
Responsible:  Xcode [2184] 
User ID:   501 

Date/Time:  2014-02-26 18:41:28.657 +0100 
OS Version:  Mac OS X 10.9.2 (13C64) 
Report Version: 11 
Anonymous UUID: B5F54D76-660F-C9CE-0C9C-D0D41BA7332B 

Sleep/Wake UUID: 9A19E5A2-14DE-40FF-8993-668257EF9F44 

Crashed Thread: 0 Dispatch queue: com.apple.main-thread 

Exception Type: EXC_CRASH (SIGABRT) 
Exception Codes: 0x0000000000000000, 0x0000000000000000 

Application Specific Information: 
Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7f8494673e80> from <IDERunPauseContinueToolbarButton: 0x7f8494673e80> 
ProductBuildVersion: 5A3005 
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'workerClass' of extension 'Xcode.DebuggerFoundation.Debugger.LLDB' in plug-in 'com.apple.dt.dbg.DebuggerLLDB' 
UserInfo: { 
    NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x7f8496dca9a0 {DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, 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/DebuggerLLDB.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.dbg.DebuggerLLDB\U201d at path \U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7f8496dc98f0 \"The bundle \U201cDebuggerLLDB\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}"; 
} 
Hints: 
    0: Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7f8494673e80> from <IDERunPauseContinueToolbarButton: 0x7f8494673e80> 
    1: Sending performAction: to <DVTDelayedMenuButtonCell: 0x7f8494674490> from <IDERunPauseContinueToolbarButton: 0x7f8494673e80> 
Backtrace: 
    0 0x00007fff91211244 __exceptionPreprocess (in CoreFoundation) 
    1 0x00000001082ddd73 DVTFailureHintExceptionPreprocessor (in DVTFoundation) 
    2 0x00007fff940a2e75 objc_exception_throw (in libobjc.A.dylib) 
    3 0x000000010826bcd2 -[DVTExtension valueForKey:] (in DVTFoundation) 
    4 0x000000010d3d1109 -[DBGLLDBDebugLocalService operationWorkerWithLaunchSession:error:] (in DebuggerLLDBService) 
    5 0x0000000110106e17 -[IDERuniPhoneSimulatorService operationWorkerWithLaunchSession:error:] (in IDEiOSSupportCore) 
    6 0x0000000108d38d49 -[IDERunDestination runWorkerForLaunchSession:error:] (in IDEFoundation) 
    7 0x0000000108d38a74 -[IDERunDestination runOperationForLaunchSession:error:] (in IDEFoundation) 
    8 0x0000000108da0fee -[IDELaunchSchemeAction runOperationForExecutionEnvironment:withBuildOperation:buildParameters:buildableProductDirectories:schemeActionRecord:outError:actionCallbackBlock:] (in IDEFoundation) 
    9 0x0000000108d94f5b -[IDEScheme _executionOperationForExecutionEnvironment:build:onlyBuild:buildPurpose:buildCommand:schemeCommand:title:overridingProperties:destination:buildLog:filePath:overridingBuildConfiguration:restorePersistedBuildResults:invocationRecord:overridingTestingSpecifiers:error:actionCallbackBlock:] (in IDEFoundation) 

这可能发生由于破碎LLDB调试器,这只能由苹果来解决。 但是,我还没有在互联网上发现许多类似的问题,所以这可能只会发生在我的Xcode。

+0

您是否尝试重新安装Xcode? –

+0

尝试重新安装Xcode。 – Gavin

+1

虽然没有真正的编程相关。 –

回答

1

我有同样的问题:无法运行任何Xcode项目。原因是我在Python上玩弄,并从2.7.x降级到2.6.8。所以,我已经将Python从旧版本更新到2.7.8,到目前为止没有问题,Xcode非常顺利地部署了所有的东西。我试过的其他事情甚至是卸载X代码并重新安装,这没有帮助。非常有用的页面升级您的MacBook上的python:http://wolfpaulus.com/jounal/mac/installing_python_osx/

1

它与您的项目无关。不知何故,你启动的Xcode.app已经损坏。尝试从App Store或ADC下载最新的Xcode。

如果这没有帮助,尝试报告您的问题:Apple Bug Reporter

+0

所以没有解决方案。我们将不得不等待苹果,再次... – Flynamic

+0

是的,这是相当新的问题,对不起 – ignotusverum

+1

谢谢你。你知道,最糟糕的问题是你自己无法解决的问题。 – Flynamic

1

如果有人仍然有同样的问题,苹果告诉我,这种情况如果安装的Python的错误“定制”版本。我安装了Python 2.7.6,它工作。

相关问题