Forum Cross Platform with Xamarin

Xamarin Forms iOS - Assertion failure in firebaseFirebase Analytics

After setting up Firebase Analytics on both iOS and Android using DependencyService and then following the steps on this thread to fix some bugs and using more supposed fixes on this one , I'm still not able to setup Firebase on iOS.

It works fine on Android but on iOS the app just crashes while opening. This is the error I get:

[46244:5039010] *** Assertion failure in void _UIApplicationMainPreparations(int, char **, NSString *__strong, NSString *__strong)(), /BuildRoot/Library/Caches/

Here's the iOS AppDelegate code:

                    public override bool FinishedLaunching(UIApplication app, NSDictionary options)

                                Firebase.Analytics.Loader loader1 = new Firebase.Analytics.Loader();
                                Firebase.InstanceID.Loader loader2 = new Firebase.InstanceID.Loader();

                                LoadApplication(new App());

                                return base.FinishedLaunching(app, options);

Any idea of what I could be doing wrong? I can't even tell if it is a Forms, iOS or Nuget problem.


Sign In or Register to comment.