如何更新 Xcode?
Mac 新手问题:我有旧版本的 Xcode,想将其更新到较新版本。我该怎么做?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
只是对此的延伸。我使用的是 OSX Lion,您可以通过 App Store 安装/更新。
Just an extension to this. I'm using OSX Lion and you can install/update via the App Store.
遗憾的是,要更新 Xcode,您必须再次从 Apple 网站下载整个 .dmg 文件。
To update Xcode, sadly, you have to download the entire .dmg file from Apple's website again.
我建议安装到硬盘根目录中的另一个文件夹中。我过去遇到过问题,不是这次特定的升级,而是通过全新安装修复的。
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.
在 Mac 上打开 App Store 并查找 Xcode 更新。例如,如果命令行工具有更新(另请参阅 xctool) Xcode 更新所需的。
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.
就我而言,当我在 AppStore 更新部分看不到它时,我在 AppStore 中搜索它,一旦我在搜索结果中看到 Xcode,如果您不是最新版本,它会在其下方显示一个按钮,显示“更新”。
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.
我在 Pro 上从 10.7.5 升级到 10.11.5,这使得我的旧 Xcode (4.4.1) 在新操作系统上无法使用。我必须从 App Store 下载新版本。我猜 Xcode 4 中尚未启用更新功能(正如 @Dominic 提到的)
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)