如何在运行 10.11.6 (El Capitan) 的 Mac 上下载 Xcode 9?

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

How do I download Xcode 9 on a mac running 10.11.6 (El Capitan)?

xcodemacosinstallationflutterxcode9

提问by Andrew

I am taking a course on programming with flutter, and it needs Xcode 9 or higher. My mac is currently running 10.11.6 and it can't update any more. I was wondering if there was any way to get Xcode 9 on my mac?

我正在学习 Flutter 编程课程,它需要 Xcode 9 或更高版本。我的 mac 目前运行的是 10.11.6,它不能再更新了。我想知道是否有任何方法可以在我的 Mac 上安装 Xcode 9?

回答by Gergely

Xcode9 needs OS X 10.12.6 or higher. The latest Xcode you can install on OS X 10.11.6 is Xcode8 (version 8.2.1). Here you can check which minimal OS version is required by which version of Xcode: https://en.wikipedia.org/wiki/Xcode#Version_comparison_table

Xcode9 需要 OS X 10.12.6 或更高版本。您可以在 OS X 10.11.6 上安装的最新 Xcode 是 Xcode8(版本 8.2.1)。在这里您可以检查哪个版本的 Xcode 需要哪个最低操作系统版本:https: //en.wikipedia.org/wiki/Xcode#Version_comparison_table

Also for downloading any older version of Xcode you need a developer account (free account is enough) and you can download from here: https://developer.apple.com/download/more/

此外,要下载任何旧版本的 Xcode,您需要一个开发者帐户(免费帐户就足够了),您可以从这里下载:https: //developer.apple.com/download/more/

Unfortunately I don't see older than Xcode9 there but I found Xcode 8.2.1 here

不幸的是,我在那里没有看到比 Xcode9 更旧的版本,但我在这里找到了 Xcode 8.2.1

回答by simplegamer

Xcode is only needed to run your Flutter apps on iOS devices and simulators. But to develop Flutter apps, you use another IDE your Mac can probably run: Android Studio, Visual Studio Code or Intellij IDEA.

Xcode 只需要在 iOS 设备和模拟器上运行你的 Flutter 应用程序。但是要开发 Flutter 应用程序,您需要使用 Mac 可能可以运行的另一个 IDE:Android Studio、Visual Studio Code 或 Intellij IDEA。

You can still test your app using an Android emulator or device.

您仍然可以使用 Android 模拟器或设备测试您的应用。

If you do need to upgrade, you can download a Sierra, High Sierra or Mojave patcher from dosdude1's website, and install a later version of macOS on your unsupported Mac (if your mac is in the list of supported devices, and I haven't tested it, so do it at your own risk).

如果您确实需要升级,您可以从 dosdude1 的网站下载 Sierra、High Sierra 或 Mojave 补丁程序,然后在您不受支持的 Mac 上安装更高版本的 macOS(如果您的 Mac 在受支持的设备列表中,而我还没有对其进行了测试,因此请自行承担风险)。