Enabling crash logs symbolication in Xcode 4.2
Asked Answered
B

2

14

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

Britannic answered 28/10, 2011 at 17:55 Comment(0)
M
19

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.

Mastermind answered 29/10, 2011 at 6:7 Comment(0)
S
10

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.

Surf answered 28/10, 2011 at 18:12 Comment(1)
This worked for me though, in XCode 4.5, I couldn't get drag to work, so I just used IMPORT those crash logs.Chemistry

© 2022 - 2024 — McMap. All rights reserved.