问题描述
这可能是一个非常愚蠢的问题,所以我提前道歉。看来,仪器只适用于我在使用iPhone模拟器。当将应用程序绑定到iPhone时,有什么特别的工作吗?或者是甚至可能吗?我通过Run-> Start with performace工具等启动应用程序的正常方式,然后看到它安装到我配置的iPhone的应用程序,然后它启动仪器,但没有。
This may be a very stupid question so I apologize in advance. It seems that Instruments only works for me when using the iPhone Simulator. Is there something special to getting it working when tethering the application to the iPhone? Or is that even possible? I launch the application the normal way through the Run->Start with performace tool, etc., then see it's installing the app to my provisioned iPhone, then it launches Instruments but nothing. I thought since it's connected via USB it would be but can't get it to work.
推荐答案
我的设备与仪器一起使用了,因为它是通过USB连接的,但不能让它工作。请按照以下步骤操作:
My device worked with Instruments after following these steps:
- 拔掉iPhone。
- 在XCode中打开管理器。
- 当系统询问您是否要使用设备时,请回答yes
这篇关于仪器(ObjectAlloc / Leaks)需要模拟器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!