Xcode Instruments unable to take snapshots of leaks when running on device

自闭症网瘾萝莉.ら 提交于 2019-12-05 00:12:46

I also have the same issue and I have fixed it by adding a Developer Profile of my project.

You have to add a Developer Profile of your project in Organizer and set Build Setting -> Code Signing to Developer Profile. After that you can see the Leaks in Instrument.

Also had this problem after a recent XCode update, and my scheme for Profiling was set to use the Build Configuration of "Release" when it needed to be "Debug" - which allowed the analysis to complete.

Would you mind mentioning your XCode version? I had a same issue but after upgrading to XCode 4.5.1 its working fine. Also you can try one old hack - tabbing between Instruments and Xcode (it works sometimes).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!