从 Xcode 4.2 升级到 Xcode 4.3 后,instruments 命令行失败 [英] After Upgrading from Xcode 4.2 to Xcode 4.3, instruments command line fails

查看:43
本文介绍了从 Xcode 4.2 升级到 Xcode 4.3 后,instruments 命令行失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从 Xcode 4.2 升级到 Xcode 4.3 后,instruments 命令行工具失败并显示以下错误:

After upgrading from Xcode 4.2 to Xcode 4.3, the instruments command line tool fails with the following error:

错误:在/Developer 中找不到开发者目录.跑/usr/bin/xcode-select 更新开发者目录路径.

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

推荐答案

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

这篇关于从 Xcode 4.2 升级到 Xcode 4.3 后,instruments 命令行失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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