打开现有应用程序时 Xcode 4.02 崩溃

发布于 2024-11-20 00:35:26 字数 1926 浏览 5 评论 0原文

我有一个现有的应用程序,对于其他使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

隐诗 2024-11-27 00:35:26

我已经看到了对同一问题的多次引用,这些引用都指向这个问题的答案,建议从组织者。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文