Trying to add Firebase Messaging
to my iOS app that already has Fabric/Crashlytics
and I am trying to add it without Cocoapods
.
I followed the readme instructions in the Firebase SDK zip file and once I add the -ObjC
linker flag to the target, it causes a duplicate symbol compile error for Fabric/Crashlytics
I then found out to use -force_load
and pointed it to the Firebase.h
file. This allowed me to compile, but when trying to FIRAPP.configure()
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.
Firebase, Google's mobile and web application development platform, is swallowing Fabric and all its features. Incidentally, both Fabric and Firebase were once separate companies: Google acquired Fabric from Twitter in January 2017 and bought Firebase in October 2014.
Firebase helps you develop high-quality apps, grow your user base, and earn more money. Each feature works independently, and they work even better together.
Firebase supports SDKs for Android, IOS, and Web. Combined with Firebase security rules and Firebase Auth, the mobile and web SDKs support serverless app architectures where clients connect directly to your Firebase database.
I actually had the same exact problem. My awesome coworker suggested to update Fabric and Crashlytics to the latest and it worked. Try that!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With