xCode 4 挂起……怎么办? [英] xCode 4 hangs... what to do?
问题描述
xCode 4 开始挂在 svn 控制下的任何项目上.我使用一个远程存储库,它可以从命令行访问并且可以正常工作.我能找到的唯一解决方法是杀死本地 svn 并再次检查整个项目.这似乎有点工作,但随后出现了同样的问题:xCode 在我启动后几秒钟就挂起.我真的很感激任何帮助解决这个问题......不能做任何事情:(
xCode 4 started to hang on any project under svn control. I use a remote repository which is accessible and works just fine from a command line. The only work around I was able to find is to kill local svn and checkout the whole project again. That seems to work for a bit but then the same problem shows up: xCode just hangs solid a few seconds after I start it. I would really appreciate any help to resolve this... Can't do anything :(
请和谢谢.
日志显示如下:
3/22/11 9:53:22 AM Xcode[3295] [?T] ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-284/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:2548
Details: (addedItem) should not be nil.
Object: <IDESourceControlWorkingTree: 0x201bf59a0>
Method: -mergeStatusOperationResults:forLocalStatusOnly:
Thread: <NSThread: 0x201bbb320>{name = (null), num = 13}
Hints: None
3/22/11 9:53:22 AM Xcode[3295] [?T]
Backtrace:
0 0x0000000100949843 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x000000010006d484 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010055f071 __78-[IDESourceControlWorkingTree mergeStatusOperationResults:forLocalStatusOnly:]_block_invoke_0 (in IDEFoundation)
3 0x00000001000060cc __38-[DVTDispatchLock performLockedBlock:]_block_invoke_0 (in DVTFoundation)
4 0x00007fff87da14db dispatch_barrier_sync_f (in libSystem.B.dylib)
5 0x0000000100006073 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
6 0x000000010055db83 -[IDESourceControlWorkingTree mergeStatusOperationResults:forLocalStatusOnly:] (in IDEFoundation)
7 0x00000001005dcd0c __77-[IDESourceControlWorkingTree updateLocalStatusForDirectory:completionBlock:]_block_invoke_01137 (in IDEFoundation)
8 0x00007fff87da8284 _dispatch_call_block_and_release (in libSystem.B.dylib)
9 0x00007fff87d86df2 _dispatch_queue_drain (in libSystem.B.dylib)
10 0x00007fff87d86c54 _dispatch_queue_invoke (in libSystem.B.dylib)
11 0x00007fff87d867fe _dispatch_worker_thread2 (in libSystem.B.dylib)
12 0x00007fff87d86128 _pthread_wqthread (in libSystem.B.dylib)
13 0x00007fff87d85fc5 start_wqthread (in libSystem.B.dylib)
推荐答案
重命名我的工作目录也对我有用.这很痛苦,但我只是在需要办理登机手续时将其重命名.另请注意,我今天早上更新到 xcode 4.0.2,它也有同样的问题.
Renaming my working directory also worked for me. It is a pain but i just rename it back when I need to do a check-in. Also note, that I updated to xcode 4.0.2 this morning and it has the same problem.
这篇关于xCode 4 挂起……怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!