mac更新系统后,提示xcrun的错误问题
pycharm运行代码终端报错:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决办法:
>>> rm -rf /Library/Developer/CommandLineTools # 一定要先删除该目录,再install安装,不然无效,如权限问题,前面加个sudo
>>> xcode-select --install
-------------------------------------------
个性签名:代码过万,键盘敲烂!!!
如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!