【发布时间】:2018-10-07 02:17:49
【问题描述】:
最近我安装了 xcode 9.3(来自 9.1)。安装后投诉
You have macOS 12.06.2. This application requires macOs 10.13.2 or later
所以我同意这一点,并计划让管理员在可用时进行更新。但是当我尝试运行git时,它也会抱怨
Executable requires at least macOS 10.13, but is being run on macOS 10.12.6, and so is exiting.git: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
git: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
让我的机器升级到 macOS 的下一个版本需要一段时间。有没有一种解决方法,我仍然可以在不升级操作系统的情况下运行 git?
【问题讨论】: