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

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

Xcode can’t be installed on “Macintosh HD” because macOS version 10.13.6 or later is required

xcodemacos

提问by user7421972

I am struggling to build app with unity on xcode. In the beginning, I could not build the app on my iPhone from xcode because I got this error

我正在努力在 xcode 上统一构建应用程序。一开始,我无法从 xcode 在我的 iPhone 上构建应用程序,因为我收到了这个错误

This iPhone 8 (Model A1863, A1905, A1906, A1907) is running iOS 12.1.2 (16C101), which may not be supported by this version of Xcode.

此 iPhone 8(型号 A1863、A1905、A1906、A1907)运行的是 iOS 12.1.2 (16C101),此版本的 Xcode 可能不支持。

I also tried to install the older version xcode but it did not work since it requires new version as mentioned above.

我也尝试安装旧版本的 xcode,但它不起作用,因为它需要如上所述的新版本。

Then, I attempted to reinstall xcode now and got error

然后,我现在尝试重新安装 xcode 并出现错误

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

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

I am using version 10.12.6 macOS Sierra and I think that there should be available installation version 10.13.6 on my App Store but 10.13 doesn't show up in my app store updates section. Therefore, I went to Apple official page to upgrade to 10.13 but it said that this update requires macOS version 10.13. I cannot install even version version 10.13.

我使用的是 10.12.6 版 macOS Sierra,我认为我的 App Store 上应该有可用的安装版本 10.13.6,但 10.13 没有出现在我的 App Store 更新部分。所以,我去苹果官网升级到10.13,却说这次升级需要macOS 10.13版本。我什至无法安装 10.13 版。

How can I update my OS and install xcode to solve this issue ?

如何更新我的操作系统并安装 xcode 来解决这个问题?

回答by hs777it

I had same problem
You must upgrade to latest macOS version.

我有同样的问题
你必须升级到最新的 macOS 版本。

回答by jmh

You need to download macOS version 10.13.6. You can download it from hereYou may need to have a developers accountbut you can get a free one by going to Apple developers. You may need to google that. Once you get 10.13.6 loaded you can then download Xcode 10.1

您需要下载 macOS 版本 10.13.6。你可以从这里下载你可能需要有一个开发者账户,但你可以去苹果开发者那里免费获得一个。你可能需要谷歌一下。加载 10.13.6 后,您就可以下载 Xcode 10.1