Shark for profiling iPhone app

时光怂恿深爱的人放手 提交于 2019-12-05 06:39:27

问题


I am using Shark to profile my application on iphone. As per instruction in Shark user guide from http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptual/SharkUserGuide/SelectingExecutiontoSampleorTrace/SelectingExecutiontoSampleorTrace.html#//apple_ref/doc/uid/TP40005233-CH13-SW19

I am able to generate profile for my application. But most of functions in my application appear as unknown under symbol header. This is because I am using release version of application. The user guide suggest that symbol information can be generated by using symbolification information and symbol rich binary of application. So first I generated debug version of application retaining the debug information then generated release version and used shark to profile and then used FILE/symbolicate option and selected the debug version of application from Debug-iphoneOs. I get error symbolification failed. Can anyone suggest a method to eliminate this error?


回答1:


If you want to profile your iPhone app with symbols using File->Symbolicate, I believe you need to profile the debug version on your iPhone, not the release version. At least that's how I've gotten it to work in the past. That way when you symbolicate using the build in Debug-iphoneos, you're referencing the same image.



来源:https://stackoverflow.com/questions/834135/shark-for-profiling-iphone-app

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