svn 提交报xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer")
Posted 令狐冲
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了svn 提交报xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") 相关的知识,希望对你有一定的参考价值。
svn 提交报如下错误 :
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
出现这个错误一般要么是你当前的电脑上面安装了连个xcode ,要么就是你更改了xcode的名称 导致配置的路径找不到了
你之前的xcode路径改变了
解决办法 只需要终端执行命令: sudo xcode-select —switch 当前使用的xcode路径 ,即可
以上是关于svn 提交报xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") 的主要内容,如果未能解决你的问题,请参考以下文章