如何解决“错误:在/Developer上找不到开发人员目录"? [英] How can I resolve "Error: No developer directory found at /Developer"?

查看:64
本文介绍了如何解决“错误:在/Developer上找不到开发人员目录"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将XCode升级到4.3.1. 我正在使用脚本来构建(然后通过Testflight进行部署)我的应用程序. 但是我现在收到此错误:

I just upgraded XCode to 4.3.1. I'm using a script to build (and then deploy through Testflight) my app. But I now receive this error:

错误:在/Developer上找不到开发人员目录.运行/usr/bin/xcode-select来更新开发人员目录路径.

Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.

我的机器上没有/Developer目录:如何解决?

I've no /Developer dir in my machine: how can I fix it?

推荐答案

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

这篇关于如何解决“错误:在/Developer上找不到开发人员目录"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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