刚刚在Snow Leopard上安装了XCode 4.2 for iOS SDK 5.0。只是不断崩溃。

我安装到/ Developer4 /上是为了保留以前的XCode 3,以防万一。

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

编辑:
当我开始一个新项目时,出现以下错误:

/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(在Foundation中)
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 0x0000000100000eec
42 0x0000000000000002

最佳答案

认为我找到了导致问题的原因。我有一些以前的XCode版本附带的用于源代码管理的常用设置(未使用)。无论如何,我从未使用过源代码控制功能,但它使XCode 4崩溃非常困难。到目前为止,删除该代码(组织器)和XCode 4似乎很稳定。

关于ios - XCode 4.2在Snow Leopard上崩溃,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/7752471/

10-15 08:47