Symbolicate crashlog of locally created iOS application

I read numerous threads on stackoverflow and on the apple site, and I still can't get the basics to work. I am doing a debug build of my application, I install it on my phone, this collection intentionally fails. I run this application without connecting it to the Xcode debugger. The application crashes, how do I now see the names of the functions and line numbers of the return stroke?

I tried to open device windows in Xcode, and there I looked at the log, I see my crashlog application, I see that there were several function calls in my code before it crashed, but they are all shown as hexadecimal addresses, and not actually symbolicated. What do I need to do to make it work?

+5
source share
3 answers

Open the project settings. Go to your target group and install the Formatted DWARF Information Format with the dSYM file for Debugging . Do the same for Project


Project :
Project


Target : Target

+4
source

Xcode will symbolize a crash report, which can take several seconds only if you still have the appropriate assembly symbols that caused the crash. If the symbol exists, just wait a moment and the crash report will be updated.

If in the meantime you changed the code and called a new assembly, then the assembly and symbol files will be overwritten and get a new UUID (for each processor architecture). This UUID is part of the crash report ( Binary Images section) and is used to find the appropriate character file on your Mac. If this is not found, then the symbolism cannot work.

+1
source

Maybe you are using an invalid character in the project name?

I had the same problem to see the hex, not the actual function names. It turns out the problem was the unicode character in the name of my applications "➕". I deleted it, and then subsequent xcode crash logs will correctly display function calls.

0
source

Source: https://habr.com/ru/post/1268200/


All Articles