Today fabric crashes after the pod update
[Fabric isCrashlyticsCollectionEnabled]: unrecognized selector sent to class 0x10c0bb918
Crashing line :
It crashes at app startup. Anyone having the same problem?
I reverted to a previous version of Crashlytics by updating my
pod 'Fabric', '1.8' pod 'Crashlytics', '3.11'
Then updating Cocoapods:
pod update 'Crashlytics'
Hopefully Google fixes this soon
Go to the "Update via Manual Steps" and download the zip file. Here is the link: https://fabric.io/kits/ios/crashlytics/update?type=manual
Unzip, copy and replace the frameworks (Fabric and Crashlytics)
It worked for me
This is probably caused by that fact that Fabric SDK's version is incompatible with Crashlytics SDK's version. I happened to stumble on this pitfall when I ran 'pod update Fabric'.
This updated the Fabric SDK but not the Crashlytics. And the problem occurred.
However, Crashlytics SDK's podspec file specifies a dependency on Fabric and also the compatible versions of this dependency. This is what I assumed from the Podfile.lock file:
- Crashlytics (3.8.6): - Fabric (~> 1.6.3)
So, if the version range specification '(~> 1.6.3)' is correct, even though I ran 'pod update Fabric', this problem shouldn't occur. However, it did. So, my conclusion is the version range specification contains incompatible versions.
My solution is to run 'pod update Crashlytics' only and updated the Crashlytics and also its dependencies.
If this doesn't solve your problem, try removing Fabric and Crashlytics and adding the latest version back.
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:
- Uninstalled both pods by commenting them out in the podfile, and ran a
- 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.
- Uncommented the two pods in the podfile and ran a
- 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!