Application symbols not showing up while time profiling iPhone app in XCode 4
I'm doing some time profiling XCode 4 but I can never seem to get the application symbols showin up in the call tree in Instruments. I'm only getting system calls.
I tho开发者_StackOverflow中文版ught this might be from doing something wrong like not generating debug symbols but after ensuring they were enabled the problem still seems to be persisting for me. This has been working for me in XCode 3.x but I've never been able to get it to work in XCode 4. Has anyone experienced this type of behaviour before or can perhaps tell me what I might be missing?
The solution for this problem is pretty much as outline in this post referred to by John in comments...
Xcode 4 failure to symbolicate Crash Log
For me to get things to work I used...
mdimport ~/Library/Developer/
to have spotlight re-index the entire "Developer" folder in my user directory which is maybe a bit of overkill? Could've used mdimport ~/Library/Developer/XCode
I suppose but I figure why not do one folder up.
精彩评论