简体   繁体   English

卸载XCode会中断MacPorts吗?

[英]Uninstalling XCode can interrupt MacPorts?

I have Xcode 4.5 Developer Preview 1 and now I want to download Xcode 4.6. 我有Xcode 4.5 Developer Preview 1,现在我想下载Xcode 4.6。 Before downloading the latest Xcode, I want to clean uninstall the old one. 在下载最新的Xcode之前,我想彻底卸载旧的Xcode。 Not sure yet how to do that. 尚不确定该怎么做。 But I'm afraid it will interrupt the MacPorts functions. 但是恐怕它将中断MacPorts功能。 MacPorts needs Xcode Command Line Tools. MacPorts需要Xcode命令行工具。 So is it possible to completely uninstall the old one first and then download the latest version later? 那么可以先完全卸载旧版本,然后再下载最新版本吗? I also want to upgrade Xcode 4.5 DP1 to Xcode 4.6 if possible. 如果可能,我也想将Xcode 4.5 DP1升级到Xcode 4.6。 I installed Xcode 4.5 DP1 from DMG file. 我从DMG文件安装了Xcode 4.5 DP1。 I'll install Xcode 4.6 from App Store. 我将从App Store安装Xcode 4.6。

您应该通过App Store升级XCode。

You should be able to upgrade Xcode and the command line tools without problems. 您应该能够毫无问题地升级Xcode和命令行工具。 MacPorts might not work while you don't have a version of Xcode (and the command line tools) installed, but will start working again after the update. 当您未安装Xcode(和命令行工具)版本时,MacPorts可能无法工作,但更新后将再次开始工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM