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:
- Plug in the device and open Xcode.
- Open the Organizer window and select the Devices tab.
- Under the DEVICES section in the left column, expand the listing for the device.
- Select Device Logs to see crash logs or select Console to see the console output.