昨天一切正常,但今天早上XCode在我打开项目后就崩溃了。
有什么建议吗?
崩溃对话框显示
内部错误
Xcode遇到内部逻辑错误。选择“继续”即可 继续以不一致的状态运行Xcode。选择“崩溃”即可 停止Xcode并向Crash Reporter提交错误。选择“崩溃”将 导致丢失所有未保存的数据。
如果我点击“显示详细信息”,则会显示以下信息
确认失败 /SourceCache/IDEFoundation/IDEFoundation-287/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:2548 细节:(addedItem)不应该是零。对象:
方法:
-mergeStatusOperationResults:forLocalStatusOnly:Thread:{name =(null),num = 11}提示:无Backtrace:0 0x0000000100949773 - [IDEAssertionHandler handleFailureInMethod:对象:文件名:LINENUMBER:MessageFormat中:参数:] (在IDEKit中)1 0x000000010006d394 _DVTAssertionFailureHandler(in DVTFoundation)2 0x000000010055e1c1 __78- [IDESourceControlWorkingTree mergeStatusOperationResults:forLocalStatusOnly:] _ block_invoke_0(in IDEFoundation)3 0x0000000100005fdc __38- [DVTDispatchLock performLockedBlock:] _ block_invoke_0(在DVTFoundation中)4 0x00007fff87886fbb dispatch_barrier_sync_f(在libSystem.B.dylib中)5 0x0000000100005f83 - [DVTDispatchLock performLockedBlock:](in DVTFoundation)6 0x000000010055ccd3 - [IDESourceControlWorkingTree mergeStatusOperationResults:forLocalStatusOnly:](在IDEFoundation中)
7 0x00000001005db64c __77- [IDESourceControlWorkingTree updateLocalStatusForDirectory:completionBlock:] _ block_invoke_01137(in IDEFoundation)8 0x00007fff8788dd64 _dispatch_call_block_and_release(在libSystem.B.dylib中)9 0x00007fff8786c8d2 _dispatch_queue_drain(在libSystem.B.dylib中)10 0x00007fff8786c734 _dispatch_queue_invoke(在libSystem.B.dylib中)11 0x00007fff8786c2de _dispatch_worker_thread2(在libSystem.B.dylib中)12 0x00007fff8786bc08 _pthread_wqthread(在libSystem.B.dylib中)13 0x00007fff8786baa5 start_wqthread(在libSystem.B.dylib中)
答案 0 :(得分:1)
您可能有此项目的源代码存储库的重复条目。转到管理器下并删除副本,看看是否修复了问题。不幸的是,XCode 4中的SCM工具仍然存在很多错误。