Massimo Moro
Massimo Moro

Reputation: 31

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

Upvotes: 3

Views: 3809

Answers (1)

Paul Beusterien
Paul Beusterien

Reputation: 29572

"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

Upvotes: 8

Related Questions