Profile your app from the Xcode Build and Product menus

The Xcode build menu allows you to run, test, and analyze your app. It also allows you to profile your app with instruments.

  1. Open an app project in Xcode.

  2. Do one of the following:

    • Click and hold the build menu in the Xcode main window, and choose Profile from the menu that appears.

    • Choose Product > Profile (or press Command-I).

    Instruments launches, and the profiling template selection dialog appears. Note that your app is automatically selected in the target device and process lists.

See alsoRecord a traceProfile from the DockUse a default template to profile from the Xcode build and product menusProfile from the Xcode gauges while debuggingProfile with the instruments command-line toolInstruments User Guide