Reputation: 31
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:
Upvotes: 3
Views: 3809
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.
Upvotes: 8