简体   繁体   English

(iphone)无法在使用xcode4的设备(而非模拟器)上运行乐器?

[英](iphone) can't run instruments on device(not simulator) with xcode4?

I'd like to time-profile on device. 我想在设备上进行时间配置。

When I set it to run on simulator, it works fine. 当我将其设置为在模拟器上运行时,它可以正常工作。 But once I change target to device, 但是一旦我将目标更改为设备,

xcode4 says xcode4说

The selected run destination is not valid for this action. 所选的运行目标对该操作无效。

What's up with this? 这是怎么回事?

I can even run on device, just can't run instrument on it.(I guess "profile" is another term for "run instrument") 我什至可以在设备上运行,只是不能在其上运行仪器。(我猜“配置文件”是“运行仪器”的另一个术语)

Thank you 谢谢

Effectively it depends of what instrument you want to use. 实际上,这取决于您要使用哪种乐器。 You just have to launch Instrument separately and to choose what kind of instrument you want to use, and then attach the instrument to a target. 您只需要分别启动仪器,然后选择要使用的仪器类型,然后将仪器连接到目标即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM