2

在安装了 Xcode 的最新预览版后,我安装的另一个 Xcode 4.3.3 在启动时开始崩溃。我正在运行 OS X Lion 10.7.4。这是我在打开 Xcode 几秒钟后遇到的崩溃。

    Application Specific Information:
ProductBuildVersion: 4E3002
ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-1193/Framework/Classes/Model/Logging/ActivityLog/IDEActivityLogSection.m:666
Details:  Assertion failed: _uniqueIdentifier
Object:   <IDEActivityLogSection: 0x40797e340>
Method:   -dvt_initFromDeserializer:
Thread:   <NSThread: 0x40797e700>{name = (null), num = 19}
Hints:   None
Backtrace:
  0  0x0000000106967b9f -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
  1  0x0000000105e225d5 _DVTAssertionFailureHandler (in DVTFoundation)
  2  0x000000010643aac3 -[IDEActivityLogSection dvt_initFromDeserializer:] (in IDEFoundation)
  3  0x0000000105df4085 -[DVTSimplePlainTextDeserializer decodeObject] (in DVTFoundation)
  4  0x0000000105df4888 -[DVTSimplePlainTextDeserializer decodeObjectList] (in DVTFoundation)
  5  0x000000010643a455 -[IDEActivityLogSection dvt_initFromDeserializer:] (in IDEFoundation)
  6  0x0000000105df4085 -[DVTSimplePlainTextDeserializer decodeObject] (in DVTFoundation)
  7  0x0000000106489b2b +[IDEActivityLogSection sectionWithContentsOfFile:error:] (in IDEFoundation)
  8  0x000000010643a27d -[IDEOnDiskActivityLogRecord fullLogWithError:] (in IDEFoundation)
  9  0x0000000106500b31 __45-[IDEBuildIssueProvider _blueprintsDidChange]_block_invoke_0 (in IDEFoundation)
 10  0x00007fff8afb8ae1 -[NSBlockOperation main] (in Foundation)
 11  0x00007fff8af7f6b4 -[__NSOperationInternal start] (in Foundation)
 12  0x00007fff8af92912 ____NSOQSchedule_block_invoke_2 (in Foundation)
 13  0x00007fff87df7a86 _dispatch_call_block_and_release (in libdispatch.dylib)
 14  0x00007fff87df8965 _dispatch_worker_thread2 (in libdispatch.dylib)
 15  0x00007fff866e33da _pthread_wqthread (in libsystem_c.dylib)
 16  0x00007fff866e4b85 start_wqthread (in libsystem_c.dylib)
4

1 回答 1

10

最后,我能够通过执行以下操作来启动它。

cd ~/Library/Developer/Xcode/DerivedData

删除上述目录中的所有内容

按住 Option 并双击 XCode 图标。您将看到一个弹出窗口,询问您是否要从上次会话中恢复窗口。打不恢复。

现在 Xcode 4.3.3 似乎正在启动

于 2012-06-20T20:12:29.400 回答