Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

99miles

macrumors member
Original poster
The Shark and MallocDebug menu items are grayed out in XCode under Start->Run with Performance Tool.
How do I enable those?
Thanks!
 
*) Download your app to the iPhone as usual, you want a release build for performance testing
*) Launch the app on the device
*) Launch /Developer/Applications/Performance Tools/Shark in the Finder
*) Choose Sampling>Network/iPhone menu item
*) Choose your device in the window
*) Choose the application from the popup menu under Target so only your app is sampled
*) Click Start button in window
*) Do stuff in test application
*) Click Stop in window
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.