The Nomad The Nomad - 1 year ago 118
iOS Question

Firebase, Fabric, & Crashlytics with -ObjC linker flag without Cocoapods iOS

Trying to add

Firebase Messaging
to my iOS app that already has
and I am trying to add it without

I followed the readme instructions in the Firebase SDK zip file and once I add the
linker flag to the target, it causes a duplicate symbol compile error for Fabric/Crashlytics

I then found out to use
and pointed it to the
file. This allowed me to compile, but when trying to
it came up with this error:

2016-11-30 14:33:31.862 Parents[243] <Debug> [Firebase/Core][I-COR000001] Configuring the default app.
2016-11-30 14:33:32.029 Parents[243:24612] +[NSData gtm_dataByGzippingData:error:]: unrecognized selector sent to class 0x3159a53c

Has anyone ever experienced this before? Please note I am not using Cocoapods for all three.

Answer Source

I actually had the same exact problem. My awesome coworker suggested to update Fabric and Crashlytics to the latest and it worked. Try that!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download