在 macOS 上下载 Xcode 时出错

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/50257014/
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-08 18:30:42  来源:igfitidea点击:

Error downloading Xcode on macOS

xcodemacos

提问by dealwap

When I go to the Apple app store and tried to download I got the below response, can I get any idea how I can bypass this issue?

当我去 Apple 应用商店并尝试下载时,我得到了以下响应,我知道如何绕过这个问题吗?

Xcode can't be installed on “Macintosh HD” because macOS version 10.13.2 or later is required.

Xcode 无法安装在“Macintosh HD”上,因为需要 macOS 版本 10.13.2 或更高版本。

回答by Oleksandr

It seems like you have old OS X. Try to download from the internet Xcode 3/4/5. enter image description here

看起来您使用的是旧版 OS X。尝试从 Internet 下载 Xcode 3/4/5。 在此处输入图片说明

https://www.appcoda.com/how-to-download-older-version-of-xcode/Read this about older versions.

https://www.appcoda.com/how-to-download-older-version-of-xcode/阅读有关旧版本的信息。

To check your OS X:

要检查您的 OS X:

  1. Go to the left top part of the screen.
  1. 转到屏幕的左上角。

enter image description here

在此处输入图片说明

  1. Press "About This Mac". Now you see your OS X and can Google for suitable xCode version. enter image description here
  1. 按“关于本机”。现在你可以看到你的 OS X 并且可以谷歌搜索合适的 xCode 版本。 在此处输入图片说明

回答by AaoIi

You are probably running Sierra or less, You need to update you Mac OS X into High Sierra in order to update and use the latest Xcode 9.3.

您可能正在运行 Sierra 或更少,您需要将 Mac OS X 更新为 High Sierra,以便更新和使用最新的 Xcode 9.3。

Note:You could be running High Sierra but make sure you update to the latest OS X Release from App Store > Updates Tap and make sure its all updated.

注意:您可能正在运行 High Sierra,但请确保从 App Store > 更新点击更新到最新的 OS X 版本并确保其全部更新。