2011-12-01 147 views
1

將MacBook更新爲Snow Leopard後,我安裝了新的xcode 4,但他沒有打開:"Xcode quit unexpectedly"Xcode意外退出

Xcode遇到內部邏輯錯誤。選擇「繼續」繼續以不一致的狀態運行Xcode。選擇「崩潰」停止Xcode並提交Crash Reporter的錯誤。選擇「崩潰」將導致所有未保存的數據丟失。

UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Couldn't load plug-in 'com.apple.dt.gpu.GPURenderTargetEditor' while firing fault for extension 'Xcode.IDEKit.EditorDocument.GPUTrace' 
UserInfo: { 
    NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 UserInfo=0x2009f9180 \"Loading a plug-in failed.\" Underlying Error=(Error Domain=NSCocoaErrorDomain Code=3587 UserInfo=0x2009fb080 \"The bundle \U201cGPUDebuggerFoundation\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\" (dlopen_preflight(/Developer/Library/Xcode/PrivatePlugIns/GPUDebuggerFoundation.ideplugin/Contents/MacOS/GPUDebuggerFoundation): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice\n Referenced from: /Developer/Applications/Xcode.app/Contents/MacOS/../../../../Library/PrivateFrameworks/GPUTools.framework/Versions/A/GPUTools\n Reason: image not found))"; 
} 
Hints: None 
Backtrace: 
    0 0x00007fff89d2f766 __exceptionPreprocess (in CoreFoundation) 
    1 0x00007fff865c1f03 objc_exception_throw (in libobjc.A.dylib) 
    2 0x000000010001bdf0 -[DVTExtension _fireExtensionFault] (in DVTFoundation) 
    3 0x0000000100006096 __38-[DVTDispatchLock performLockedBlock:]_block_invoke_0 (in DVTFoundation) 
    4 0x00007fff88454fbb dispatch_barrier_sync_f (in libSystem.B.dylib) 
    5 0x000000010000603f -[DVTDispatchLock performLockedBlock:] (in DVTFoundation) 
    6 0x000000010001bb8b -[DVTExtension _valueForKey:inParameterData:usingSchema:] (in DVTFoundation) 
    7 0x000000010001bacf -[DVTExtension valueForKey:] (in DVTFoundation) 
    8 0x0000000100a0f711 +[IDEEditorDocument _validateDocumentExtension:] (in IDEKit) 
    9 0x0000000100946b06 __60+[IDEDocumentController _THREAD_allEditorDocumentExtensions]_block_invoke_0 (in IDEKit) 
10 0x00007fff88438705 dispatch_once_f (in libSystem.B.dylib) 
11 0x0000000100946893 +[IDEDocumentController _THREAD_allEditorDocumentExtensions] (in IDEKit) 
12 0x0000000100b0650d -[IDEDocumentController documentClassNames] (in IDEKit) 
13 0x00007fff8045fbee -[NSDocumentController(NSInternal) _installOpenRecentMenus] (in AppKit) 
14 0x00007fff80428dd9 -[NSApplication finishLaunching] (in AppKit) 
15 0x00007fff80428554 -[NSApplication run] (in AppKit) 
16 0x00007fff804213b0 NSApplicationMain (in AppKit) 
17 0x0000000100000eec 
18 0x0000000000000002 

我需要做什麼?

+0

如果你留在Snow Leopard上,最好留在Xcode 3.2上。我已經看到這些類似的bug,不再支持sdk/libraries。 你只是打開XCode,或者你打開3.2項目的.xcodeproj文件? – oberthelot

+1

Xcode 4正式支持Snow Leopard。這是一個*錯誤*,所以請通過http://bugreport.apple.com向蘋果公司報告。 –

+0

現在所有的作品都很好。我刪除了所有舊數據xcode 3並重新安裝xcode 4. – Darkngs

回答

1

我經常看到這個,只需點擊「繼續」,一旦你到達停止點考慮退出並重新啓動Xcode。總之Xcode有bug。

+0

「繼續」沒有幫助... Cxode未打開。 :( – Darkngs

+0

好吧,繼續只是一個機會的事情,所以,另一個要卸載Xcode,有一個腳本,你可以使用通過和重新安裝,祝你好運! – zaph