2012-05-31 152 views
0

我正在運行Lion(10.7.4)並運行Xcode 4.3.2,當我構建任何應用程序時,它在構建中崩潰。以下是報告。有什麼建議麼?Xcode 4.3.2編譯時崩潰

Application Specific Information: 
    ProductBuildVersion: 4E2002 
    UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Couldn't load plug-in 'com.apple.dt.dbg.DebuggerLLDB' while firing fault for extension 'Xcode.DebuggerFoundation.Debugger.LLDB' 
    UserInfo: { 
    NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x402919560 {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=0x4014c5d00 \"The bundle \U201cDebuggerLLDB\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}"; 
} 
Hints: None 

回答

5

我發現了這個問題。根據最近的論壇,LLVM編譯器有一個錯誤,據說蘋果知道它。因此,通過轉到「Edit Project Scheme」並選擇GDB而不是LLVM來構建您的應用程序。

+0

與xcode 4.6.3和mac osx 10.7.5相同的問題,嘗試了一切,但您的解決方案完美無缺!謝謝。 – Grsmto

+0

@isaamac謝謝! – pregmatch