Forum Cross Platform with Xamarin

App immediately close after launch sice IOS 10 update


I upgraded XCode to 8 to allow use of IOS10. I had not the choice.
I use IPhone Simulator.
Now it's done and when I run a simple PCL app, it opens and close immediately.
One of you had the same issue ?
You found a solution ?




  • kentuckerkentucker USMember ✭✭✭✭✭

    More then likely you are getting an exception at startup since the upgrade. I would try and catch the unhandled exception like shown here to see what it is

  • Lolo2ParisLolo2Paris FRMember

    I did this :

        static void Main(string[] args)
            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
            // if you want to use a different Application Delegate class from "AppDelegate"
            // you can specify it here.
            UIApplication.Main(args, null, "AppDelegate");
        private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
            errorService.HandleUnhandledError(sender, "unhandled error");

    The program exit before reaching the First instruction and never enter in the error handler.

    I did something wrong ?

    Thanks for your help.

  • Lolo2ParisLolo2Paris FRMember


    Today, I executed the app with Xamarin Studio in my Mac, the simulator works.
    If I execute the app with Visual Studio 2015, the simulator exit immediately.

    I try o update my visual studio.


Sign In or Register to comment.