美文网首页weex
xcode-select: error: tool 'x

xcode-select: error: tool 'x

作者: 不爱用句号的家伙 | 来源:发表于2016-12-26 12:15 被阅读2428次

    有一天,我下了AudioKit准备体验他的一些比较酷的东西。结果出现了一个错误。

    In Terminal 

    $ cd framework_dirs 

    $ ./build_frameworks.sh

    Building frameworks for platforms: iOS macOS tvOS

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

    what's going on?

    我猜可能是我刚刚重装了笔记本,xcodebuild找不到Xcode,所以我们要重定向一下Xcode的文档的位置。

    $ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/

    输入密码后就搞定了。

    相关文章

      网友评论

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

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