Git:错误:无法读取MacOSX.sdk的SDK设置 [英] Git: Error: Unable to read SDK settings for MacOSX.sdk
本文介绍了Git:错误:无法读取MacOSX.sdk的SDK设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在更新到新的OS Mojave后添加git时出错
Error while adding in git after updating to new OS Mojave
错误
git:错误:无法读取'/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'的SDK设置
git: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
遇到错误:
- 设备:MacBook Pro(13英寸视网膜,2013年初)
- 操作系统:MacOS Mojave
屏幕截图
问题
如何解决此错误?
Anyones的帮助将得到真正的体现.
Anyones help will be really appriciated.
推荐答案
CommandLineTools已过时.下面应该解决它.
CommandLineTools is outdated. The below should fix it.
xcode-select --install
这篇关于Git:错误:无法读取MacOSX.sdk的SDK设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文