5

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.

4

1 に答える 1

4

私は実際にまったく同じ問題を抱えていました。私の素晴らしい同僚は、Fabric と Crashlytics を最新のものに更新することを提案しましたが、うまくいきました。それを試してみてください!

于 2016-12-01T01:25:48.370 に答える