xcode 如何更新Xcode?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5276247/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 03:45:29  来源:igfitidea点击:

How to update Xcode?

xcodemacos

提问by SandyBr

A mac newbie question: I have an older version of Xcode and want to update it to a newer version. How do I do that?

一个 mac 新手问题:我有一个旧版本的 Xcode,想将它更新到一个新版本。我怎么做?

回答by Drew

Just an extension to this. I'm using OSX Lion and you can install/update via the App Store.

只是对此的扩展。我正在使用 OSX Lion,您可以通过 App Store 安装/更新。

回答by Dominic

To update Xcode, sadly, you have to download the entire .dmg file from Apple's website again.

遗憾的是,要更新 Xcode,您必须再次从 Apple 的网站下载整个 .dmg 文件。

回答by Mark

I recommend installing into a different folder in the root of your hard drive. I have had problems in the past, not with this specific upgrade, that were fixed by doing a fresh install.

我建议安装到硬盘驱动器根目录中的不同文件夹中。过去我遇到过问题,不是这次特定的升级,而是通过全新安装解决的。

回答by Josh Habdas

On Mac open the App Store and look for an Xcode update. You may need to update OS X first if, for example, there was an update to Command Line Tools (see also xctool) required by the Xcode update.

在 Mac 上打开 App Store 并查找 Xcode 更新。例如,如果Xcode 更新需要对命令行工具(另请参阅xctool)进行更新,则您可能需要先更新 OS X。

回答by warfreak92

In my case, when I cannot see it in the AppStore Update section I searched for it in the AppStore and once I saw Xcode in the search results it displays a button below it saying "Update" if you are not in the latest version.

就我而言,当我在 AppStore 更新部分看不到它时,我在 AppStore 中搜索了它,一旦我在搜索结果中看到 Xcode,它就会在它下方显示一个按钮,如果您不是最新版本,则显示“更新”。

回答by ronakosti

I upgraded from 10.7.5 to 10.11.5 on my pro and it rendered my old Xcode (4.4.1) unusable on the new OS. I had to download a new version from App Store. I guess the update feature is not enabled yet in Xcode 4 (as @Dominic mentioned)

我在专业版上从 10.7.5 升级到 10.11.5,这导致我的旧 Xcode (4.4.1) 在新操作系统上无法使用。我不得不从 App Store 下载一个新版本。我猜更新功能尚未在 Xcode 4 中启用(如@Dominic 所述)