XCode 4.2.1在启动时在Lion 10.7.2上崩溃
本周我在大约10年内买了我的第一台Mac(是的!).它是一款二手Mac Pro(2x2GHz双核Xeon,2GB内存).它全新安装了Mac OS X Lion 10.7.2.我只安装了OmniOutlner Pro,Textmate和
Ruby RVM.
我还从App Store下载并安装了Xcode 4.2.1.起初,Xcode运行良好(仅启动以查看它是否有效).然后,第二天我启动Xcode开始使用它,它在发布后立即崩溃.从那以后,我尝试了很多东西来尝试解决问题:重新启动,重新安装,重新下载和重新安装,删除和重新安装,删除iTunes并重新安装(早期的Stack Overflow回答建议这一点)等等.似乎没有任何帮助.有时我可以点击XCode中的菜单项(显示崩溃消息时),但就是这样. 其他一切似乎在这台机器上都很完美,所以我怀疑这是硬件.我没有OS X安装DVD. 我买了这个系统,所以我可以用Xcode编程.如果你是我,你会怎么做? UPDTE-1:以下是问题详细信息和系统配置报告中的第一行(一般来说,我看来这个问题中的大多数似乎都在谈论IDE Navigator Log): Process: Xcode [17619] Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 4.2.1 (834) Build Info: IDEApplication-834000000000000~2 Code Type: X86-64 (Native) Parent Process: launchd [118] Date/Time: 2011-12-01 14:33:14.664 -0600 OS Version: Mac OS X 10.7.2 (11C74) Report Version: 9 Interval Since Last Report: 72258 sec Crashes Since Last Report: 5 Per-App Interval Since Last Report: 719 sec Per-App Crashes Since Last Report: 5 Anonymous UUID: 1D22E753-40F6-4035-B53A-236881ED2A58 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000,0x0000000000000000 Application Specific Information: ProductBuildVersion: 4D502 Encountered multiple assertions. First assertion was: ASSERTION FAILURE in /SourceCache/IDELogNavigator/IDELogNavigator-820/IDELogNavigator.m:582 Details: (self.rootNavigableItem) should not be nil. Object: <IDELogNavigator: 0x4018f6420> Method: -revertStateWithDictionary: Thread: <NSThread: 0x40010a260>{name = (null),num = 1} Hints: 0: Replacement view is installing: <IDELogNavigator: 0x4018f6420 representing: <DVTExtension 0x400d33120: Log Navigator (Xcode.IDEKit.Navigator.Logs) v0.1>> Backtrace: 0 0x00000001055c4366 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit) 1 0x0000000104c3d1a4 _DVTAssertionFailureHandler (in DVTFoundation) 2 0x000000010ad43cb1 -[IDELogNavigator revertStateWithDictionary:] (in IDELogNavigator) 3 0x0000000104bffe5b -[DVTStateToken _pullStateFromDictionary:] (in DVTFoundation) 4 0x0000000104bffc12 -[DVTStateToken pullStateFromRepository] (in DVTFoundation) 5 0x000000010550f33d -[IDENavigatorArea replacementView:didInstallViewController:] (in IDEKit) 6 0x0000000104df75f1 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit) 7 0x0000000104c00f4e DVTInvokeWithFailureHint (in DVTFoundation) 8 0x0000000104df7473 -[DVTReplacementView _setupViewController] (in DVTKit) 9 0x0000000104df7345 -[DVTReplacementView installedViewController] (in DVTKit) 更新-2:糟糕.我在下面尝试了Michael Dautermann引用的方法,但它没有用.这是我在终端输入的内容: sudo tmutil disablelocal sudo /Developer/Library/uninstall-devtools --mode=all sudo /Developer-old/Library/uninstall-devtools --mode=all sudo /Developer-old-1/Library/uninstall-devtools --mode=all sudo tmutil enablelocal 此时,删除了/ Developer,/ Developer-old和/ Developer-old-1文件夹.然后我清空了垃圾并重新安装了XCode.一切似乎都很顺利,但当我启动XCode时,它立即再次崩溃:-( 但是,还有三点信息: > XCode崩溃时问题报告中的问题详细信息与上面报告的问题详细信息基本相同. 如果有人有任何其他想法,我愿意尝试.我开始怀疑我是否在某处遇到硬件问题,或者我是否应该降级到Snow Leopard和XCode 3. 解决方法
>下载iPhone配置实用程序…
http://support.apple.com/kb/DL1465 >安装,启动,退出该实用程序. > Xcode现在应该正确启动.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |