It finally happened. I send a new version of We all pay to Apple and they send it back to me with the message they rejected it with a crash report. So I open the crash report, but can’t make anything out of it. It’s full machine stuff. I can see there are some messages from Objective C objects, but why it crashed is completely unclear to me.
So I asked Google. Google told me that I need to Symbolicate my crash report.
What is Symbolication? Symbolication is the process of turning the crash report into something you can understand. For this you need the .dSym file from the moment of compilation. If you’ve used the Archive function in Xcode you’re good to go and the .dSym file can be automatically found by Xcode. My advivce always use that like I do.
What to do when you get crash report.
- Download the .crash file to your Mac.
- Open Xcode.
- Open Devices Screen. (⇧⌘2)
- Plug in one your development iOS devices. For example your iPhone.
- Select the plugged in iOS device.
- Then the button View Device Logs appears. Press this button.
- Drag your .crash file on to Device logs section of the Device Logs screen.
- That’s it if you’ve archived your App Store build it will automatically select the correct .dSym file and symbolicate your Crash report.
Believe it or not. It took me two hours to figure out and I keep that as a rule of thumb for a blog post.