Analyzing Logs and Debugging Errors in iOS Devices

Once the application is deployed on the device, either through the App store or as an adhoc or enterprise build, to debug problems you need to analyze the crash logs and console output from the device.

To get crash logs and console output with Xcode, you need to:

  1. Plug in the device and open Xcode.
  2. Open the Organizer window and select the Devices tab.
  3. Under the DEVICES section in the left column, expand the listing for the device.
  4. Select Device Logs to see crash logs or select Console to see the console output.