最近一段时间公司给配了台mac ,于是开发由windows转mac了。
直接进入正题吧。
报错信息
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决办法:
在终端输入:xcode-select --install,会提示安装xcode.然后点击安装,重启AS。再次测试即可