美文网首页iOS错误&解决
xcode-select: error: tool 'xcode

xcode-select: error: tool 'xcode

作者: NapoleonY | 来源:发表于2019-03-17 21:50 被阅读0次

    问题

    RT, 命令行出现如下错误

    xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

    解决方案

    1. 安装 Xcode
    2. 执行 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

    参考

    1. 参考链接

    相关文章

      网友评论

        本文标题:xcode-select: error: tool 'xcode

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