'How to analyze an app's IPS file in Xcode?
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.
Solution 1:[1]
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
Solution 2:[2]
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.
Solution 3:[3]
- Rename the .ips file to .crash file
- Open xcode -> Window -> Devices & Simulators
- Connect any iOS device to Mac (even if you have the file on your mac)
- View Device logs (this will show all device logs)
- Select "All logs"
- Drag and drop the .crash file you have
- 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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | shim |
| Solution 2 | toast |
| Solution 3 | Ranjith |
