git push xcrun:错误:活动的开发人员路径不存在 [英] git push xcrun: error: active developer path does not exist

查看:173
本文介绍了git push xcrun:错误:活动的开发人员路径不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近删除了xcode 6 beta 3并安装了xcode 6 beta 6

i recently deleted xcode 6 beta 3 and installed xcode 6 beta 6

当我在终端中输入gitpush时,发生了这种情况

when i entered gitpush in the terminal this happened

xcrun:错误:活动的开发人员路径("/Applications/Xcode6-Beta3.app/Contents/Developer")不存在,请使用xcode-select --switch path/to/Xcode.app指定要用于命令行开发人员工具的Xcode(或参见man xcode-select)

xcrun: error: active developer path ("/Applications/Xcode6-Beta3.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)

推荐答案

尝试将其粘贴到终端:

sudo xcode-select -switch /Applications/Xcode-Beta.app

它将为新的Xcode名称更新路径.

It will update the path, for the new Xcode name.

另一种选择是将应用程序名称更改回Xcode,当然,这要考虑到您没有安装当前版本.

Another alternative is just changing the app name back to Xcode, this, of course, considering you don't have the current one installed.

这篇关于git push xcrun:错误:活动的开发人员路径不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆