Crashlytics does not report correct crash reports

I notice this from my last few collectors, crashlytics does not send corresponding crash reports ... In crash reports, I cannot debug which class the crash occurred on ..

Despite the fact that I tried to download DSYM manually using fabric as well, I followed all the instructions on my website.

I also tried loading DSYM by downloading from itunesconnect, but nothing gives the correct crash log

Sample Failure Report

Fatal Exception: NSRangeException 0 CoreFoundation 0x18cbcefe0 __exceptionPreprocess 1 libobjc.A.dylib 0x18b630538 objc_exception_throw 2 CoreFoundation 0x18caad200 -[__NSArrayM removeObjectAtIndex:] 3 MyApp 0x1001a3550 _hidden#4208_ (__hidden#4311_:498) 4 MyApp 0x10012c008 _hidden#1377_ (__hidden#1463_:318) 5 MyApp 0x10012f888 _hidden#1403_ (__hidden#1463_:753) 6 MyApp 0x100132448 _hidden#1497_ (__hidden#1511_:352) 7 MyApp 0x1001dc1b8 _hidden#5257_ (__hidden#5321_:209) 8 Foundation 0x18d6c24cc __NSThreadPerformPerform 9 CoreFoundation 0x18cb7d42c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 10 CoreFoundation 0x18cb7cd9c __CFRunLoopDoSources0 11 CoreFoundation 0x18cb7a9a8 __CFRunLoopRun 12 CoreFoundation 0x18caaada4 CFRunLoopRunSpecific 13 GraphicsServices 0x18e514074 GSEventRunModal 14 UIKit 0x192d65058 UIApplicationMain 15 MyApp 0x10018b9cc main (__hidden#3728_:14) 16 libdyld.dylib 0x18bab959c start 

Why is it _hidden # 4208 ??

+13
source share
3 answers

My problem was that I was building the assembly using the command line tools, and at that time the bit code flag was not used for it. so he gave me the wrong crash reports.

Now I include the bit code characters in my IPA, and then, after downloading it to appstoreconnect.apple.com, if I download dsym for my IPA and load it into the missing dsym crashlytisc section, I get all the relevant crash reports.

Note : I downloaded DSYM from the assembly loaded in appstoreconnect, since this DSYM contains characters, and only this solved my problem. enter image description here

+1
source

Go through this Matt answer on Xcode Bitcode, enable the character settings effect to generate dSYM

I have not tried, but I think, following the recommendations mentioned in Matt's answer, you can solve your request.

+2
source

try it

  • Go to Build Settings
  • then go to Build Options
  • In goto build settings Debug format
  • and change Debug DWARF to DWARF with the DSYM file .

Now follow the steps of the Fabric craft again, and you will definitely get the appropriate crash report.

See below screenshot

enter image description here

+2
source

Source: https://habr.com/ru/post/1269923/


All Articles