iOS development, there are several ways to view crash logs.
1 before release, the beta phase, the installation of the Hoc version of the IPA, if the crash, get the device, on the machine on the package open Xcode,orgnizer, check the device log can be seen.
2 after the release, the user crashes during use, the best thing is to let users send the device crash log to us, but this is quite unworkable. There is a way: The app integrates the Friends League SDK, then he will record the crash log, and then escalated to his platform, you can see the friend of the Alliance developer Account landing on his platform. Below, how to restore the crash stack to the corresponding source information what the file line and so on.
The specific operation is
1 First copy the Xxx.app with the corresponding Xxx.app.dYSM file to the same directory, for example destop/myapp/inside
2 then login to the Friend Alliance developer backstage to find the relevant report of the corresponding app, such as
3 Above the red box is the most useful information, using the offset address to reverse the source location, the specific operation is: Open the terminal, into the Destop/myapp directory just now
The offset address is typed into the command
Atos-o huijian_patient.app/huijian_patient-arch arm64 0x10018dbb4 0x10005ee04 0x10005fa2c
You will then get the following results
Red box inside the information is the most useful, this is good to do, find the source of the corresponding location, a good check it.
Note: Some parameters inside the command line are consistent with the log. For example, the arch, address, etc.
Let's try it out soon.
IOS View Crash Log