Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fabric crashes after the update : [Fabric isCrashlyticsCollectionEnabled]: unrecognized selector sent to class 0x10c0bb918

Today fabric crashes after the pod update

Fabric 1.9.0

[Fabric isCrashlyticsCollectionEnabled]: unrecognized selector sent to class 0x10c0bb918

Crashing line :

Fabric.with([Crashlytics.self])

It crashes at app startup. Anyone having the same problem?

like image 668
Utku Dalmaz Avatar asked Nov 27 '18 20:11

Utku Dalmaz


2 Answers

I reverted to a previous version of Crashlytics by updating my Podfile

pod 'Fabric', '1.8'
pod 'Crashlytics', '3.11'

Then updating Cocoapods:

pod update 'Crashlytics'

Hopefully Google fixes this soon

like image 81
lewis Avatar answered Oct 12 '22 08:10

lewis


This was still happening in a project of mine, and I've just been using out of date Fabric & Crashlytics as in @Lewis42's solution above.

We needed to update Fabric so I've persevered with it today. Updated to the latest pods for both Fabric & Crashlytics, and the crash happened again at startup as previously.

I'm sure I've tried this previously, but this time I did the following:

  1. Uninstalled both pods by commenting them out in the podfile, and ran a pod install.
  2. Made sure there was no Fabric or Crashlytics folders or frameworks in the project or pods folders. There was a Fabric.framework in the main project folder, that I think I'd added as an attempt to fix this issue previously, so I deleted that.
  3. Uncommented the two pods in the podfile and ran a pod install.
  4. Built the app and it finally ran successfully with the updated pods!

Hopefully nobody is still having this issue, but if you are, then this might help!

like image 45
siburb Avatar answered Oct 12 '22 09:10

siburb