美文网首页
xcrun: error: active developer p

xcrun: error: active developer p

作者: Queen_BJ | 来源:发表于2022-01-12 11:59 被阅读0次

    出现背景

    MAC 中有两个Xcode,卸载掉默认的Xcode (12版本),保留Xcode13,执行git命令报错

    错误原因

    Xcode路径错误

    解决方法

    1、直接修改Xcode13为Xcode
    2、修改路径
    sudo xcode-select --switch/Applications/Xcode13.app/Contents/Developer

    相关文章

      网友评论

          本文标题:xcrun: error: active developer p

          本文链接:https://www.haomeiwen.com/subject/pkhwcrtx.html