Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enabling crash logs symbolication in Xcode 4.2

I am using Xcode 4.2 and my crash logs are not getting symbolicated. How to enable this in Xcode 4.2?

like image 206
Abhinav Avatar asked Oct 28 '11 17:10

Abhinav


People also ask

How do I Symbolicate a crash in Xcode?

Symbolicate the Crash Report in Xcode To symbolicate in Xcode, click the Device Logs button in the Devices and Simulators window, then drag and drop the crash report file into the list of device logs. Crash reports must have the . crash file extension.


2 Answers

Please Go through the Apple's Documentation for More Details.

The above Apple's Link contains explanation of what I am displaying in crash reports settings image and how to use crash report to symolicate the hexadecimal values.

Now the following things you should take care to generate crash report while building your application.

In xcode project navigator click on your project and then click on the Build Settings. When you archive your application, xcode uses the release Configuration by default, you will want to set the following values for the Release Configuration only..

Ensure the following values are set for Release Configuration.

enter image description here

Once these values are set, Archive and reinstall your application.Now crash reports are generated from the resulting archive should be symbolicated.

This is specifically for xcode 4.

like image 155
DShah Avatar answered Sep 29 '22 16:09

DShah


If its not in there already, drag the crash log into the "Device Logs" section of the "Devices" tab in the organizer window:

enter image description here

if the App that crashed was built without stripping debug symbols:

enter image description here

a nice symbolicated crash log will appear:

enter image description here

This screenshot shows a crash log of my App that had symbol strip set to YES when it was built, but if you set strip symbols to NO, these lines will also symbolicate properly.

like image 31
chown Avatar answered Sep 29 '22 16:09

chown