XCode 4.2 在雪豹上崩溃 [英] XCode 4.2 crashes on Snow Leopard

查看:24
本文介绍了XCode 4.2 在雪豹上崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚刚在 Snow Leopard 上安装了适用于 iOS SDK 5.0 的 XCode 4.2.只是继续崩溃.

Just got the XCode 4.2 for iOS SDK 5.0 installed on Snow Leopard. Just keeps on crashing.

我安装到/Developer4/以保留我以前的 XCode 3,以防万一.

I installed to /Developer4/ to keep my previous XCode 3 around, just in case.

有人遇到过这个问题吗?解决了吗?

Anyone got this problem? Solved it?

当我开始一个新项目时,我收到此错误:

When I start a new project, I get this error:

断言失败/SourceCache/IDEFoundation/IDEFoundation-937/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:119详细信息:源树的位置无效.初始化失败.目的:方法:-initWithDictionary:sourceControlExtension:sourceControlManager:线程:{name = (null), num = 1}提示:
0:更换视图正在安装:回溯:0 0x00000001009e6646 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:](在IDEKit中)1 0x000000010006aaa4 _DVTAssertionFailureHandler(在 DVTFoundation 中)2 0x00000001005a314f -[IDESourceControlTree initWithDictionary:sourceControlExtension:sourceControlManager:](在 IDEFoundation 中)3 0x00000001005a2900 -[IDESourceControlRepository initWithDictionary:sourceControlExtension:sourceControlManager:](在IDEFoundation中)4 0x00000001005a20ac -[IDESourceControlManager loadRepositories](在IDEFoundation中)5 0x000000010059cc9b -[IDESourceControlManager init](在IDEFoundation中)6 0x000000010059cad2 __53+[IDESourceControlManager sharedSourceControlManager]_block_invoke_0(在IDEFoundation中)7 0x00007fff86e7c705 dispatch_once_f(在 libSystem.B.dylib 中)8 0x000000010059caa1 +[IDESourceControlManager sharedSourceControlManager](在IDEFoundation中)9 0x00000001006732d1 +[IDESnapshotsManager sourceControlSystemUsedForSnapshotsWithError:](在IDEFoundation中)10 0x000000010067326d -[IDESnapshotsManager areSnapshotsEnabled](在IDEFoundation中)11 0x0000000100b66369 -[IDESnapshotsListController loadAllCommits](在IDEKit中)12 0x0000000100b65acc -[IDESnapshotsListController loadView](在IDEKit中)13 0x00007fff830e36a3 -[NSViewController 视图](在 AppKit 中)14 0x000000010021dc7b -[DVTViewController 视图](在 DVTKit 中)15 0x0000000100220e00 __42-[DVTReplacementView _setupViewController]_block_invoke_0(在 DVTKit 中)16 0x000000010002e85e DVTInvokeWithFailureHint(在 DVTFoundation 中)17 0x0000000100220cd3 -[DVTReplacementView _setupViewController](在 DVTKit 中)18 0x0000000100220ba5 -[DVTReplacementView installedViewController](在 DVTKit 中)19 0x000000010022bc8c -[DVTReplacementView layoutTopDown](在 DVTKit 中)20 0x000000010021ba33 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0(在DVTKit中)21 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0(在DVTKit中)22 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0(在DVTKit中)23 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0(在DVTKit中)24 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0(在DVTKit中)25 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0(在DVTKit中)26 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0(在DVTKit中)27 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0(在DVTKit中)28 0x000000010021b8a7 +[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:](在 DVTKit 中)29 0x000000010022b878 -[DVTDelayedValidator doValidation:](在 DVTKit 中)30 0x00007fff869e8441 __NSFirePerformWithOrder(在基础中)31 0x00007fff83be6b37 __CFRunLoopDoObservers(在 CoreFoundation 中)32 0x00007fff83bc2464 __CFRunLoopRun(在 CoreFoundation 中)33 0x00007fff83bc1dbf CFRunLoopRunSpecific(在CoreFoundation中)34 0x00007fff8194a7ee RunCurrentEventLoopInMode(在 HIToolbox 中)35 0x00007fff8194a551 ReceiveNextEventCommon(在 HIToolbox 中)36 0x00007fff8194a4ac BlockUntilNextEventMatchingListInMode(在HIToolbox中)37 0x00007fff830fceb2 _DPSNextEvent(在AppKit中)38 0x00007fff830fc801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:](在 AppKit 中)39 0x00007fff830c268f -[NSApplication 运行](在 AppKit 中)40 0x00007fff830bb3b0 NSApplicationMain(在AppKit中)41 0x0000000100000eec42 0x0000000000000002

ASSERTION FAILURE in /SourceCache/IDEFoundation/IDEFoundation-937/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:119 Details: Invalid location for source tree. Initialization failed. Object: Method: -initWithDictionary:sourceControlExtension:sourceControlManager: Thread: {name = (null), num = 1} Hints:
0: Replacement view is installing: Backtrace: 0 0x00000001009e6646 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit) 1 0x000000010006aaa4 _DVTAssertionFailureHandler (in DVTFoundation) 2 0x00000001005a314f -[IDESourceControlTree initWithDictionary:sourceControlExtension:sourceControlManager:] (in IDEFoundation) 3 0x00000001005a2900 -[IDESourceControlRepository initWithDictionary:sourceControlExtension:sourceControlManager:] (in IDEFoundation) 4 0x00000001005a20ac -[IDESourceControlManager loadRepositories] (in IDEFoundation) 5 0x000000010059cc9b -[IDESourceControlManager init] (in IDEFoundation) 6 0x000000010059cad2 __53+[IDESourceControlManager sharedSourceControlManager]_block_invoke_0 (in IDEFoundation) 7 0x00007fff86e7c705 dispatch_once_f (in libSystem.B.dylib) 8 0x000000010059caa1 +[IDESourceControlManager sharedSourceControlManager] (in IDEFoundation) 9 0x00000001006732d1 +[IDESnapshotsManager sourceControlSystemUsedForSnapshotsWithError:] (in IDEFoundation) 10 0x000000010067326d -[IDESnapshotsManager areSnapshotsEnabled] (in IDEFoundation) 11 0x0000000100b66369 -[IDESnapshotsListController loadAllCommits] (in IDEKit) 12 0x0000000100b65acc -[IDESnapshotsListController loadView] (in IDEKit) 13 0x00007fff830e36a3 -[NSViewController view] (in AppKit) 14 0x000000010021dc7b -[DVTViewController view] (in DVTKit) 15 0x0000000100220e00 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit) 16 0x000000010002e85e DVTInvokeWithFailureHint (in DVTFoundation) 17 0x0000000100220cd3 -[DVTReplacementView _setupViewController] (in DVTKit) 18 0x0000000100220ba5 -[DVTReplacementView installedViewController] (in DVTKit) 19 0x000000010022bc8c -[DVTReplacementView layoutTopDown] (in DVTKit) 20 0x000000010021ba33 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 21 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 22 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 23 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 24 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 25 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 26 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 27 0x000000010021bae2 __84+[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:]_block_invoke_0 (in DVTKit) 28 0x000000010021b8a7 +[DVTAutoLayoutView _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] (in DVTKit) 29 0x000000010022b878 -[DVTDelayedValidator doValidation:] (in DVTKit) 30 0x00007fff869e8441 __NSFirePerformWithOrder (in Foundation) 31 0x00007fff83be6b37 __CFRunLoopDoObservers (in CoreFoundation) 32 0x00007fff83bc2464 __CFRunLoopRun (in CoreFoundation) 33 0x00007fff83bc1dbf CFRunLoopRunSpecific (in CoreFoundation) 34 0x00007fff8194a7ee RunCurrentEventLoopInMode (in HIToolbox) 35 0x00007fff8194a551 ReceiveNextEventCommon (in HIToolbox) 36 0x00007fff8194a4ac BlockUntilNextEventMatchingListInMode (in HIToolbox) 37 0x00007fff830fceb2 _DPSNextEvent (in AppKit) 38 0x00007fff830fc801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) 39 0x00007fff830c268f -[NSApplication run] (in AppKit) 40 0x00007fff830bb3b0 NSApplicationMain (in AppKit) 41 0x0000000100000eec 42 0x0000000000000002

推荐答案

我想我找到了导致问题的原因.我有一些沉睡(未使用)的源代码控制设置,这些设置来自以前的 XCode 版本.反正我从来没有使用过那个源代码控制功能,但它让 XCode 4 崩溃了.删除(组织者)和 XCode 4 到目前为止似乎稳定......

Think I found what caused the problem. I had some slumbering (unused) settings for source control that came along from previous XCode versions. I never used that source control feature anyway, but it made XCode 4 crash hard. Removing that (Organizer) and XCode 4 seems stable so far...

这篇关于XCode 4.2 在雪豹上崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆