ios - XCode 4.2 在雪豹上崩溃

标签 ios xcode4

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

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

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

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

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 很难崩溃。到目前为止,删除 (Organizer) 和 XCode 4 似乎很稳定......

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

相关文章:

objective-c - NSJSONSerialization解析响应数据

ios - 唯一标识符不应随 iOS 版本更改而更改

ios - 使用 NSMutableParagraphStyle 会导致表情符号出现问题

iOS - 使用不带时区计算的 stringDate 初始化 NSDate

objective-c - 字符串比较和文本字段操作

git - Xcode 4 git 集成

ios - 参数标签 '(UUIDString)' 与任何可用的重载都不匹配

ios - 设置文本 : is deprecated

iphone - 钥匙串(keychain)中缺少私钥iphone开发者

cocoa - 在一台用户 10.6.8 机器上崩溃,并将无法识别的选择器发送到类(class)