Enabling crash logs symbolication in Xcode 4.2

2020-01-26 04:04发布

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

2条回答
叛逆
2楼-- · 2020-01-26 04:20

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.

查看更多
仙女界的扛把子
3楼-- · 2020-01-26 04:33

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.

查看更多
登录 后发表回答