1

有人遇到过 Xcode 4.3.3 在 OSX Lion (10.7.4) 上崩溃的问题吗?我正在尝试编写一个 GUI 界面,一切都很完美,直到我今天打开它继续工作。该文件最终将成为医学诊断的专家系统。

包含所有程序文件的 zip 文件位于此处 ( http://www.mediafire.com/?14slv9xhb45214t )。除了设计界面,还没有走得太远。

我也包括下面的崩溃报告。


Process:         Xcode [9714]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         4.3.3 (1178)
Build Info:      IDEApplication-1178000000000000~3
App Item ID:     497799835
App External ID: 8553856
Code Type:       X86-64 (Native)
Parent Process:  launchd [273]

Date/Time:       2012-07-05 20:13:12.925 -0400
OS Version:      Mac OS X 10.7.4 (11E53)
Report Version:  9

Interval Since Last Report:          197037 sec
Crashes Since Last Report:           12
Per-App Interval Since Last Report:  8746 sec
Per-App Crashes Since Last Report:   10
Anonymous UUID:                      7C84D886-82A8-4652-B690-46D441C4DABB

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

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

Application Specific Information:
ProductBuildVersion: 4E3002
ASSERTION FAILURE in /SourceCache/IDESourceEditor/IDESourceEditor-1175/Classes/IDESourceCodeAdjustNodeTypesRequest.m:412
Details:  symLoc should be an instance inheriting from DVTTextDocumentLocation, but it is <IBDocumentMemberLocation: 0x401dc9a40>
Object:   <IDESourceCodeAdjustNodeTypesRequest: 0x401f137e0>
Method:   -_processFoundSymbolResults:
Thread:   <NSThread: 0x40010a220>{name = (null), num = 1}
Hints:   None
Backtrace:
  0  0x000000010556eb9f -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
  1  0x0000000104a1f5d5 _DVTAssertionFailureHandler (in DVTFoundation)
  2  0x000000010a625908 -[IDESourceCodeAdjustNodeTypesRequest _processFoundSymbolResults:] (in IDESourceEditor)
  3  0x0000000104a3ffc7 __DVTAsyncPerformBlock_block_invoke_0 (in DVTFoundation)
  4  0x00007fff826cadfc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
  5  0x00007fff82682f02 __CFRunLoopDoBlocks (in CoreFoundation)
  6  0x00007fff826aab35 __CFRunLoopRun (in CoreFoundation)
  7  0x00007fff826aa486 CFRunLoopRunSpecific (in CoreFoundation)
  8  0x00007fff8727b4d3 RunCurrentEventLoopInMode (in HIToolbox)
  9  0x00007fff87282781 ReceiveNextEventCommon (in HIToolbox)
 10  0x00007fff8728260e BlockUntilNextEventMatchingListInMode (in HIToolbox)
 11  0x0000000105b64e31 _DPSNextEvent (in AppKit)
 12  0x0000000105b64735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
 13  0x0000000105b61071 -[NSApplication run] (in AppKit)
 14  0x0000000105ddd244 NSApplicationMain (in AppKit)
 15  0x000000010499beec (in Xcode)
 16  0x0000000000000002

objc[9714]: garbage collection is ON
abort() called
4

1 回答 1

1

Xcode 崩溃可能是由损坏的项目文件引起的。这在我身上发生过几次。

Xcode 似乎不能容忍任何错误,甚至不允许您进行版本控制。如果您正在使用版本控制,您可以尝试在命令行中修复它。

您可能想要重新创建您的项目。您应该能够将源文件和 .XIB 复制到新项目中。

于 2012-07-09T04:22:45.827 回答