2
安裝Xcode的最新預覽版後,我的另一個安裝的Xcode 4.3.3在啓動時開始崩潰。我正在運行OS X Lion 10.7.4。這是我在打開Xcode幾秒後得到的崩潰。XCode 4.3.3在啓動時運行崩潰10.7.4
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)
你實際上並不需要刪除所有東西。只需刪除正在處理的項目的派生數據文件夾。這爲我解決了這個問題。 Thx @ribeto! ;) – SlowTree
我在安裝4.4.1時遇到了與我的Xcode 4.3.3完全相同的問題。我已經刪除〜/ Library/Developer/Xcode/DerivedData和我的項目派生的數據文件夾,但似乎沒有任何工作。 –
現在我刪除了我的構建文件夾並將構建位置設置更改爲「傳統」。似乎現在工作:) –