Hi, I've posted on both the official apple developer forums and the new iPhone dev forums without any responses Can anyone help me figure out how to use Shark through XCode to profile my iPhone app?
Here's my post:
Hi, I'm trying to do some performance tuning and am having some trouble using Shark.
Problem #1: No matter what configuration I choose ( debug, release, simulator, device ) the "Shark" menu item under "Run" in XCode is greyed out. How do I enable this feature so I can run my application using Shark through XCode?
Problem #2: I've been able to run Shark on it's own while my iPhone simulator is running and have tried to capture my application. However, for some reason my application name "TestApp" shows up multiple times in the drop down in Shark when selecting which process to monitor. They all have the "TestApp" and most of them have a number after it such as 94452. Any ideas on why this happens and which one is the process I should choose?
Problem #3: I've tried simply selecting one of the four or five "TestApp" processes from the Shark drop down and running it. It does capture information and gives me the results, however most of the symbols are missing even though my project has "Gererate Debug Symbols" check box checked in the project settings. Is there something else I need to do in order to get all symbols to show up?
My hope is that by fixing problem #1, it will automatically fix problems #2 and #3.