xcode - 运行 git,投诉 Executable 至少需要 macOS 10.13。有解决方法吗?
问题描述
最近我安装了 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
不升级操作系统的情况下运行?
解决方案
我只是xcode
从应用程序中完全删除,现在我git
又像魅力一样工作了。
推荐阅读
- c# - servicestack 身份验证失败,出现 502
- c++ - 为什么使用与父级一起声明的 std::function 在与子级一起使用时会显示错误?
- c# - 引入一次性立即使用的变量会导致性能损失吗?
- ssis - SSIS Derived Column From CSV (Cast String to Float)
- core-data - SwiftUI @FetchRequest how to workaround limitations of this property wrapper
- javascript - Sending a file from front end to back end taking too long
- twilio - Use non-local numbers to receive messages
- java - How can I see the OpenJML error messages?
- kubernetes - Istio Mixer 的应用程序身份和访问适配器不工作
- django - 仅在管理员在 django 中接受用户后,如何让用户注册?