【发布时间】:2011-12-01 22:12:41
【问题描述】:
将我的 MacBook 更新为 Snow Leopard 后,我安装了新的 xcode 4,但他没有打开:"Xcode quit unexpectedly"。
Xcode 遇到内部逻辑错误。选择“Continue”以在不一致的状态下继续运行 Xcode。选择“Crash”以停止 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
我需要做什么?
【问题讨论】:
-
如果您继续使用 Snow Leopard,则最好继续使用 Xcode 3.2。我已经看到不再支持的 sdk/库发生此类错误。你是在打开 XCode,还是从 3.2 项目打开一个 .xcodeproj 文件???
-
Xcode 4 正式支持雪豹。这是一个错误,因此请通过bugreport.apple.com 向 Apple 报告
-
现在一切正常。我删除了所有旧数据 xcode 3 并重新安装 xcode 4。
标签: ios xcode macos xcode4 osx-snow-leopard