1

I manually installed Firebase Crashlytics into my ios project a few days ago. It worked fine.Some crash reports showed up in console. Now i want to log some events, and i get "Firebase Analytics is not available". Is there anything else to do? other linker flags image

Trick
  • 23
  • 5
  • Did you see [this post](https://stackoverflow.com/questions/39617804/firebase-analytics-not-available)? – Shai Aug 01 '18 at 07:28
  • Possible duplicate of [Firebase Analytics not available](https://stackoverflow.com/questions/39617804/firebase-analytics-not-available) – Kerberos Aug 01 '18 at 08:15
  • already add -ObjC. Still not works. – Trick Aug 03 '18 at 11:29

1 Answers1

3

This error occurs when you've installed the FirebaseCore pod, but have not installed FirebaseAnalytics. See source.

If you don't want Analytics, you can safely ignore the message. If you do want Analytics, add the FirebaseAnalytics framework to your app.

Using CocoaPods, the Analytics installation happens automatically when you include the Firebase/Core subspec in the Podfile with pod 'Firebase/Core'.

Paul Beusterien
  • 27,542
  • 6
  • 83
  • 139