打开现有应用程序时 Xcode 4.02 崩溃
我有一个现有的应用程序,对于其他使用 Xcode 4.0 的人来说工作得很好。我的 Xcode 4.02 和 xcode 一旦我打开这个应用程序就崩溃了。有时,它会挂起,我必须“强制退出”Xcode。其他时候,它会给我一个“内部逻辑错误”窗口并显示以下错误。
**ASSERTION FAILURE** in /SourceCache/IDEFoundation/IDEFoundation-287/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:2548
Details: (addedItem) should not be nil.
Object: <IDESourceControlWorkingTree: 0x202020900>
Method: -mergeStatusOperationResults:forLocalStatusOnly:
Thread: <NSThread: 0x2025f3900>{name = (null), num = 16}
Hints: None
Backtrace:
0 0x0000000100949773 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in 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 (in DVTFoundation)
4 0x00007fff822cd51b dispatch_barrier_sync_f (in libSystem.B.dylib)
5 0x0000000100005f83 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
6 0x000000010055ccd3 -[IDESourceControlWorkingTree mergeStatusOperationResults:forLocalStatusOnly:] (in IDEFoundation)
7 0x00000001005db64c __77-[IDESourceControlWorkingTree updateLocalStatusForDirectory:completionBlock:]_block_invoke_01137 (in IDEFoundation)
8 0x00007fff822d42c4 _dispatch_call_block_and_release (in libSystem.B.dylib)
9 0x00007fff822b2e32 _dispatch_queue_drain (in libSystem.B.dylib)
10 0x00007fff822b2c94 _dispatch_queue_invoke (in libSystem.B.dylib)
11 0x00007fff822b283e _dispatch_worker_thread2 (in libSystem.B.dylib)
12 0x00007fff822b2168 _pthread_wqthread (in libSystem.B.dylib)
13 0x00007fff822b2005 start_wqthread (in libSystem.B.dylib)
我最近将 Xcode 从版本 3 升级到了 4.02。我测试了其他几个项目,它们似乎在 4.02 上运行良好。所以,我知道 Xcode 已正确安装。请帮我弄清楚我做错了什么。
I have an existing App which works fine for others with Xcode 4.0. I have Xcode 4.02 and xcode crashes as soon as I open this app. At times, it just hangs up and I have to 'Force Quit' Xcode. Other times, it gives me a 'Internal logic error' window and shows the following error.
**ASSERTION FAILURE** in /SourceCache/IDEFoundation/IDEFoundation-287/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:2548
Details: (addedItem) should not be nil.
Object: <IDESourceControlWorkingTree: 0x202020900>
Method: -mergeStatusOperationResults:forLocalStatusOnly:
Thread: <NSThread: 0x2025f3900>{name = (null), num = 16}
Hints: None
Backtrace:
0 0x0000000100949773 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in 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 (in DVTFoundation)
4 0x00007fff822cd51b dispatch_barrier_sync_f (in libSystem.B.dylib)
5 0x0000000100005f83 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
6 0x000000010055ccd3 -[IDESourceControlWorkingTree mergeStatusOperationResults:forLocalStatusOnly:] (in IDEFoundation)
7 0x00000001005db64c __77-[IDESourceControlWorkingTree updateLocalStatusForDirectory:completionBlock:]_block_invoke_01137 (in IDEFoundation)
8 0x00007fff822d42c4 _dispatch_call_block_and_release (in libSystem.B.dylib)
9 0x00007fff822b2e32 _dispatch_queue_drain (in libSystem.B.dylib)
10 0x00007fff822b2c94 _dispatch_queue_invoke (in libSystem.B.dylib)
11 0x00007fff822b283e _dispatch_worker_thread2 (in libSystem.B.dylib)
12 0x00007fff822b2168 _pthread_wqthread (in libSystem.B.dylib)
13 0x00007fff822b2005 start_wqthread (in libSystem.B.dylib)
I have recently upgraded Xcode from version 3 to 4.02. I have tested a couple of other projects and they seem to run fine on 4.02. So, I know that Xcode is installed properly. Please help me figure out what am I doing wrong.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经看到了对同一问题的多次引用,这些引用都指向这个问题的答案,建议从组织者。
I've seen several references to the same problem that all pointed back to the answer to this question that suggests deleting the repository from Organizer.