改变xcrun开发路径为Android工作室 [英] change xcrun developer path for Android Studio
问题描述
使用即时通讯GIT,我试图把我的code和使用终端时,收到以下错误。我不使用X code,采用Android Studio的即时通讯。
Im using GIT and am trying to push my code and getting the following error when using the Terminal. I don't use XCode, Im using Android Studio.
我尝试使用命令是:
git的分支网络
错误:
xcrun:错误:无效活跃的开发路径(/图书馆/开发/ CommandLineTools),在缺少xcrun:/库/开发商/ CommandLineTools的/ usr / bin中/ xcrun
我在埃尔卡皮坦Beta 4的更新运行,如果这有助于反正
I am running on El Capitan Beta 4 update if that helps in anyway
推荐答案
我遇到了同样的问题,但与 SVN
。我发现,通过安装埃尔卡皮坦,X code是卸载。我重新安装了X code从应用程序商店,然后重新安装X code命令行工具通过终端与
I ran into the same problem, however with svn
. I found that by installing El Capitan, Xcode was "uninstalled". I reinstalled Xcode from the App Store and then reinstalled Xcode Command Line Tools via Terminal with
xcode-select --install
安装完毕后,我的 /库/开发商/ CommandLineTools的/ usr / bin中
目录中又出现了和 SVN
再次开始工作
After installation, my /Library/Developer/CommandLineTools/usr/bin
directory reappeared and svn
started working again.
这篇关于改变xcrun开发路径为Android工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!