Home Features Docs Blog Support GitHub

Firebase Debug mode


(Thomas Gallinari) #1

Hi there,

I am trying to use Firebase Analytics for iOS. It seems to work fine (I can see the events sent in the console) but I would like to see the events in real-time in the Firebase DebugView.

I have added Firebase/Core to my Podfile, and declared the bindings:

Name: FirebaseCore
Framework path: xcode/Pods/FirebaseCore/Frameworks/FirebaseCore.framework
Import headers:
#import <FirebaseCore/FIRApp.h>
#import <FirebaseCore/FIRConfiguration.h>

Name: FirebaseAnalytics
Framework path: xcode/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework
Import headers:
#import <FirebaseAnalytics/FIRAnalytics.h>

I have also added the -FIRDebugEnabled argument to my Xcode scheme.

But when I launch the app, it does not recognize this argument, thus I cannot see my iOS device in the Firebase DebugView.

Any help would be welcome :slight_smile:


(Roland Vigh - Migeran) #2

Hi!

Open launch configuration in the Android Studio, select Arguments tab and add -FIRAnalyticsDebugEnabled argument to Program arguments.

Best Regards,
Roland


(Thomas Gallinari) #3

Thank you Roland it works perfectly.