12

I'm trying to find out why my app is crashing for certain users. I personally cannot replicate it.

The user emailed me their IPS file. This is the output after I've loaded it in Organizer, and right clicked, selected Re-symbolicate: http://pastebin.com/8q6RE7sU

I assume this is where the problem occurred in my code:

3   FlightMachine                       0x000000010003b970 0x100028000 + 80240
4   FlightMachine                       0x000000010008b79c 0x100028000 + 407452

But how do I find out what is at 0x100028000 + 80240, to find out what the actual problem is?

Thank you.

shim
  • 9,289
  • 12
  • 69
  • 108
toast
  • 1,860
  • 2
  • 26
  • 49
  • Possible duplicate of [How to symbolicate crash log Xcode?](http://stackoverflow.com/questions/25855389/how-to-symbolicate-crash-log-xcode) – Volker Nov 06 '16 at 10:05
  • This is the output after I've loaded it in Organiser, and right clicked, selected Re-symbolicate. I updated my question to include this. – toast Nov 06 '16 at 10:31

3 Answers3

15
  1. Rename the .ips file to .crash file
  2. Open xcode -> Window -> Devices & Simulators
  3. Connect any iOS device to Mac (even if you have the file on your mac)
  4. View Device logs (this will show all device logs)
  5. Select "All logs"
  6. Drag and drop the .crash file you have
  7. Right click and "re-symbolicate log"

You need to have either the xcarchive or dsym files in organizer relevant for the build in which you have the crash. Refer Apple docs to add dsym files

Ranjith
  • 425
  • 6
  • 8
7

If you have dsym file of your app version which got crash, you can symbolicate it using atos tool with the steps mentioned in Apple documentation

shim
  • 9,289
  • 12
  • 69
  • 108
Anni S
  • 1,996
  • 19
  • 28
  • 8
    OMG finally I figured out why I couldn't import the crash log! iPhone exports crash logs with the extension .ips but you have to manually change that to .crash to be able to import it to the device logs in xcode! – randomcontrol Dec 22 '19 at 19:43
6

For additional info, I opened Organiser, selected Download dSYMs, then went to Devices > View Error Logs, imported the IPS file into it (by drag and dropping). Then I right clicked the relevant crash and selected re-symbolicate.

If your IPS files dont simply drag into the crash view, rename them to .crash, then back again to IPS.

toast
  • 1,860
  • 2
  • 26
  • 49