Crashlytics Fabric crash report not working after updates

Referring to this post: Crashlytics does not report a crash in release mode :

I made every change that the original poster already mentioned, including the changes mentioned in the answer, but I still can’t get the crashes that will appear on the release toolbar.

The only difference is that I use Jenkins to build my releases. If I started the application locally from Xcode (and, of course, stopped Xcode and restarted the application myself so that the debugger would not interfere), the reports are recorded and displayed just fine.

I also applied the Crashlytics delegation method to make sure that the crash is actually logged, and that is. It never appears on the toolbar if it is a Jenkins build.

Will anyone have an idea of ​​what might happen?

+4
source share
1 answer

I do not use Jenkins, but the problem that occurred to me was that I used the Fabric Mac application to apply the API key through the setup process.

For me, the fix was simple:

Go to fabric.io category → Organizations → Your API → API

and replace this:

 Fabric.with([Crashlytics.self])

by:

 Fabric.with([Crashlytics.start(withAPIKey: "YOUR_API_KEY")]

Fabric API. , Jenkins , Fabric , , API.

+1

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


All Articles