Ios 由于LLDB,尝试运行项目时Xcode崩溃

Ios 由于LLDB,尝试运行项目时Xcode崩溃,ios,xcode,crash,xcode5,lldb,Ios,Xcode,Crash,Xcode5,Lldb,当我单击“运行”时,无论我的代码是什么,Xcode都会立即崩溃。 崩溃报告称无法正确读取LLDB插件: Error getting value for key 'workerClass' of extension 'Xcode.DebuggerFoundation.Debugger.LLDB' in plug-in 'com.apple.dt.dbg.DebuggerLLDB' 事故报告: Process: Xcode [2184] Path: /Appl

当我单击“运行”时,无论我的代码是什么,Xcode都会立即崩溃。 崩溃报告称无法正确读取LLDB插件:

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)
进程:Xcode[2184]
路径:/Applications/Xcode.app/Contents/MacOS/Xcode
标识符:com.apple.dt.Xcode
版本:5.0.2(3335.32)
构建信息:IDEApplication-33350320000000000~4
代码类型:X86-64(本机)
父进程:已启动[147]
负责人:Xcode[2184]
用户ID:501
日期/时间:2014-02-26 18:41:28.657+0100
操作系统版本:Mac OS X 10.9.2(13C64)
报告版本:11
匿名UUID:B5F54D76-660F-C9CE-0C9C-D0D41BA7332B
睡眠/唤醒UUID:9A19E5A2-14DE-40FF-8993-668257EF9F44
崩溃线程:0调度队列:com.apple.main-Thread
异常类型:EXC_崩溃(SIGABRT)
异常代码:0x0000000000,0x0000000000000000
特定于应用程序的信息:
发送performRunAction:从发送到
ProductBuildVersion:5A3005
未捕获异常(NSInternalInconsistencyException):获取插件com.apple.dt.dbg.DebuggerLLDB中扩展名“Xcode.DebuggerFoundation.Debugger.LLDB”的键“workerClass”的值时出错
用户信息:{
NSUnderlyingError=“Error Domain=DVTPlugInErrorDomain Code=2\”加载插件失败。\“UserInfo=0x7f8496dca9a0{DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB,DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB,NSLocalizedRecoverySuggestion=插件或其必备插件之一可能丢失或损坏,可能需要重新安装,NSLocalizedDescription=Load无法加载路径为\U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin、NSLocalizedFailureReason=路径为\U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin\U201d的插件\U201ccom.apple.dt.dbg.DebuggerLLDB\U201d。该插件或其必备插件之一可能丢失或丢失已损坏,NSUnderlyingError=0x7f8496dc98f0 \“无法加载捆绑包\U201cDebuggerLLDB\U201d,因为它已损坏或缺少必要的资源。\”;
}
提示:
0:将performRunAction:发送到发件人
1:发送性能:从发送到
回溯:
0 0x00007fff91211244例外预处理(在CoreFoundation中)
1 0x00000001082ddd73 DVTFailureHintexception预处理器(在DVTFoundation中)
2 0x00007fff940a2e75 objc_异常_抛出(在libobjc.A.dylib中)
3 0x000000010826bcd2-[DVTExtension valueForKey:](在DVT基础中)
4 0x000000010d3d1109-[DBGLLDBDebugLocalService操作WorkerWithLaunchSession:错误:](在DebuggerLLDBService中)
5 0x0000000110106e17-[IDERuniPhoneSimulatorService OperationWorkWithLaunchSession:错误:](在IDEiOSSupportCore中)
6 0x0000000108d38d49-[IDERunDestination runWorkerForLaunchSession:错误:](在IDEFoundation中)
7 0x0000000108d38a74-[IDERunDestination runOperationForLaunchSession:错误:](在IDEFoundation中)
8 0x0000000108da0fee-[IDELaunchSchemeAction runOperationForExecutionEnvironment:withBuildOperation:buildParameters:BuildTableProductDirectory:schemeActionRecord:outError:actionCallbackBlock:](在IDEFoundation中)
9 0x0000000108d94f5b-[IDEScheme\u executionOperationForExecutionEnvironment:build:onlyBuild:buildPurpose:buildCommand:schemeCommand:title:overridingProperties:destination:buildLog:filePath:overridingBuildConfiguration:restorePersistedBuildResults:invocationRecord:overridingTestingSpecifiers:error:actionCallbackBlock:(在IDEFoundation中)
这可能是因为LLDB调试器坏了,这只能由苹果解决。
但是,我还没有从internet上的其他人那里发现许多类似的问题,因此这可能只发生在我的Xcode上。

这与您的项目无关。不知何故,您启动的Xcode.app已损坏。请尝试从应用商店或ADC下载最新的Xcode


如果这没有帮助,试着报告你的问题:

如果有人仍然有同样的问题,苹果告诉我,如果一个错误的“定制”出现这种情况安装了Python版本。我安装了Python 2.7.6,它运行正常。

我遇到了同样的问题:无法运行任何Xcode项目。原因是我在Python上玩,并将其从2.7.x降级到2.6.8。因此,我已将Python从旧版本更新到2.7.8,到目前为止没有问题,Xcode部署一切都非常顺利。其他我尝试过的方法甚至是卸载X代码,然后重新安装,这没有帮助。在macbook上升级python非常有用的页面:

您尝试过重新安装Xcode吗?尝试重新安装Xcode。但与编程无关。是的,我尝试过,重新安装Xcode不起作用。一个非常类似的问题(但不是完全相同)我是如何解决的:是的,这是一个非常新的问题,对不起,无论如何谢谢你。你知道,最糟糕的问题是你自己解决不了的。