仪器(ObjectAlloc / Leaks)需要模拟器吗?
这可能是一个非常愚蠢的问题,所以我提前道歉。看来,仪器只适用于我在使用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