美文网首页
可能导致xcrun error的原因之一

可能导致xcrun error的原因之一

作者: JackChen__ | 来源:发表于2016-10-07 13:38 被阅读0次

    问题描述

    xcrun: error: unable to find utility "instrument", not a developer tool or in PATH

    原因之一

    将高级版本的xcode卸载之后,安装了低级版本的xcode

    解决方法

    打开终端,输入以下命令

    注意:路径根据实际情况自己修改,另外需要输入本机密码获得root权限

    sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
    
    演示.gif

    相关文章

      网友评论

          本文标题:可能导致xcrun error的原因之一

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