XCode 4.2在Snow Leopard上崩溃了

时间:2011-10-13 10:04:31

标签: ios xcode4

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

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

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

编辑: 当我开始一个新项目时,我收到了这个错误:

  

/SourceCache/IDEFoundation/IDEFoundation-937/Framework/Classes/Model/SourceControl/IDESourceControlTree.m:119中的ASSERTION FAILURE   详细信息:源树的位置无效。初始化失败。   宾语:   方法:-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 run](在AppKit中)    40 0x00007fff830bb3b0 NSApplicationMain(在AppKit中)    41 0x0000000100000eec    42 0x0000000000000002

1 个答案:

答案 0 :(得分:4)

想想我发现是什么导致了这个问题。我从之前的XCode版本中获得了源控制的一些沉睡(未使用)设置。我从来没有使用过那个源代码控制功能,但它让XCode 4崩溃了。到目前为止,删除(Organizer)和XCode 4似乎很稳定......