【问题标题】:XCode 4.2 crashes on Snow LeopardXCode 4.2 在雪豹上崩溃
【发布时间】:2011-10-13 10:04:30
【问题描述】:

刚刚在 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 初始化](在 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

【问题讨论】:

    标签: ios xcode4


    【解决方案1】:

    认为我找到了导致问题的原因。我有一些来自以前 XCode 版本的源代码控制的休眠(未使用)设置。无论如何,我从来没有使用过那个源代码控制功能,但是它让 XCode 4 很难崩溃。到目前为止,删除 (Organizer) 和 XCode 4 似乎很稳定......

    【讨论】:

      猜你喜欢
      • 2012-07-01
      • 2012-03-25
      • 1970-01-01
      • 1970-01-01
      • 2012-08-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-27
      相关资源
      最近更新 更多