• 欢迎访问少将全栈,学会感恩,乐于付出,珍惜缘份,成就彼此、推荐使用最新版火狐浏览器和Chrome浏览器访问本网站。
  • 吐槽,投稿,删稿,交个朋友,商务沟通v:ai_draw
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏少将全栈吧

xcrun: error: active developer path (“/Users/Xcode.app/Contents/Developer”) does not exist

Web前端 admin 6年前 (2018-07-08) 3566次浏览 已收录 扫描二维码

xcrun: error: active developer path (“/Users/Downloads/Xcode.app/Contents/Developer”) does not exist<br >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.<br >See man xcode-select for more details.</br ></br >

xcrun: error: active developer path (“/Users/Downloads/Xcode.app/Contents/Developer”) does not exist<br >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.</br >

 

xcrun: error: active developer path (“/Applications/Xcode 2.app/Contents/Developer”) does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select)

 

解决方法
在终端输入下述代码,问题得到解决。

<code>sudo xcode-<span class="hljs-keyword">select</span> -<span class="hljs-keyword">switch</span> /Applications/Xcode.app/Contents/Developer</code>
喜欢 (0)
[🍬谢谢你请我吃糖果🍬🍬~]
分享 (0)
关于作者:
少将,关注Web全栈开发、项目管理,持续不断的学习、努力成为一个更棒的开发,做最好的自己,让世界因你不同。