Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Xamarin Forms Unhandled Exception as soon as I start my app on iOS Simulator

$
0
0

Hi Guys,

I'm pretty new to Xamarin and I have made an app for my Wedding next year. The app is a cross platform app and is written using Xamarin.forms. It is all good and working on android devices however I am struggling to even get my app to run on the ios simulator. It builds fine on the mac agent, but at soon as it starts up i just get an unhandled exception. I have added crash reporting in Azure Mobile Centre but this hasn't recorded anything. I have even tried adding a catch all exception in the AppDelegate class as you can see below. My deadline for getting this done is getting closer because of wedding invites etc. Below is the code I put into the AppDelegate.cs

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
AppDomain.CurrentDomain.UnhandledException += CurrentDomainOnUnhandledException;
TaskScheduler.UnobservedTaskException += TaskSchedulerOnUnobservedTaskException;
global::Xamarin.Forms.Forms.Init ();
LoadApplication (new WeddingApp.App ());

        return base.FinishedLaunching (app, options);
    }

Any help would be much appreciated,

Thanks Luke


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>