3 Answers



​active​​​​oldest​​​​votes​



up vote3down voteaccepted




See ​​this question​​ for your answer.

From Brad Larson therein:

Run your application from within Xcode to have the console output piped there. While your application is running, start Instruments and choose an appropriate instrument. Under Default Target in the menu bar, select iPhone or Computer (whichever is appropriate for what you're testing), and under Attach to Process find the name of your executable.

When you click the record button, your application should start being profiled under Instruments while having its console output directed to Xcode. Unfortunately, this attachment process will need to come after the application has started, so you may have to profile the startup of your application separately.

Edit: If that didn't work, you may just need to restart your computer. Have you done that yet?