Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Analytics not available

I can't use Firebase with iOS. I'm using Xcode 8.0 and Objective-C. I added all the necessary framework and the right code to my AppDelegate implementation.

I added the ObjC to Other Linker Flags and I added the GoogleService-Info.plist but the App crashes with this error:

Error

like image 305
Massimo Moro Avatar asked Sep 10 '26 17:09

Massimo Moro


1 Answers

"FIRAnalytics is not available" is exactly the error that will occur when directly integrating the Firebase frameworks without using CocoaPods and not setting the -ObjC Linker flag. Make sure you set it properly:

Add the -ObjC linker flag in Other Linker Settings in your target's build settings.

enter image description here

like image 128
Paul Beusterien Avatar answered Sep 13 '26 06:09

Paul Beusterien