Firebase Analytics not available

戏子无情 提交于 2019-12-02 05:33:40

问题


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:


回答1:


"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.



来源:https://stackoverflow.com/questions/39617804/firebase-analytics-not-available

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!