无法从Xcode运行乐器 [英] Can't run Instruments from Xcode

查看:62
本文介绍了无法从Xcode运行乐器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级到Snow Leopard,从那时起,我很难运行Instrument来从Xcode来检测我的应用程序. 记录"按钮将变灰,并且什么也没有发生. Xcode的控制台中也没有消息告诉我有什么问题.我曾经能够将其附加到流程或从Instruments启动流程,所有这些都不再起作用.

I recently upgraded to Snow Leopard and since then I am having difficulty running Instrument to instrument my app from Xcode. The Record button would be grayed out, and nothing happens. There is no message in Xcode's console telling me what's wrong either. I used to be able to attach it to process or launch the process from Instruments as well, all these are no longer working.

你知道是什么原因造成的吗?

Any idea what's causing this?

推荐答案

我遇到了同样的问题!我只能在iPhone上使用乐器,而不能在iPad或iPad2上使用乐器! 每当我使用Xcode 4启动乐器时,它都会发出蜂鸣声,并且记录按钮将被禁用..

I had the same issue! I could only use Instruments on my iPhone but not on iPad or iPad2! Whenever I started instruments with Xcode 4 it would just beep and the record button would be disabled..

我通过在XCode中转到> Targets> Edit Scheme> Profile"yourAppName"并将Build Configuration从Release更改为Debug来解决了此问题. 然后尝试再次配置产品>配置文件

I solved this issue by in XCode going to >Targets>Edit Scheme>Profile "yourAppName" and changing the Build Configuration from Release to Debug. Then try to profile again Product>Profile

如果再次发出哔声. 您会看到它在记录按钮旁边显示选择目标",打开下拉菜单>选择目标">"yourAppName",然后点击记录.

If you get the beep again.. You will see that it says "CHOOSE TARGET" next to the record button open the drop down >Choose Target> "yourAppName" then hit record.

这为我解决了问题,终于能够再次运行仪器!

This solved it for me and was finally able to run instruments again!

我知道这则帖子很旧,但我希望它能对某人有所帮助.

I know this post is old but i hope it helps someone.

这篇关于无法从Xcode运行乐器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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