I have implemented an application which uses PLCrashReporter as Crash handling method. and it retrieves a report which can be switched to human readable format.
Incident Identifier: E125648C-6BCF-4F69-9950-C8CDFB0535D3
CrashReporter Key: e681450ca18f97638adb5f7295a4af24103b92ae
Hardware Model: iPad5,4
Process: CrashReport [6918]
Path: /private/var/mobile/Containers/Bundle/Application/FA6CA909-C229-457F-9EF0-35B889481B63/CrashReport.app/CrashReport
Identifier: net.example.CrashReport
Version: 1 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-05-15 16:40:51.199 +0430
Launch Time: 2016-05-15 16:40:44.122 +0430
OS Version: iOS 8.4.1 (12H321)
Report Version: 105
Exception Type: EXC_CRASH (SIGTRAP)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 1
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 CrashReport 0x00000001000663a4 0x100060000 + 25508
1 CrashReport 0x00000001000662ac 0x100060000 + 25260
2 CrashReport 0x0000000100066304 0x100060000 + 25348
3 UIKit 0x0000000187b411e8 0x187afc000 + 283112
with all details about the application and Hardware model , but No Line or class name!
I have searched a lot and find out the i have to use symbolication process.
- some told to use .dSYM , but the application is not yet on the apple store
- some other solution was to work with report.crash and something like that but I couldn't find this file in my application
- I want the lines of code to be sent from the application , not to handle it from XCode or some other tools
in final: I need some codes to extract line number and functions from PLCrashReport , please use Swift. I am not very good at Objective C.
Thanks