I have a Xamarin forms application. Natively, there is no code written for IOS or Android. When I run the application on an Android simulator it works fine.
But when I run it on IOS, it starts the app, it shows a blue screen (I guess the normal launching screen) and then it stops the app and places it to the background. Same thing happens when I create a new Xamarin forms project and run it on IOS. Only difference is that with the newly created Xamarin forms project, when clicking on the app after it was placed on the background it works, but my own Xamarin forms application never runs, always blue screen and then it is placed to the background.
If I place breakpoints, wherever, it the breakpoint is never triggered; it does not come that far apparently.
Resolved pending breakpoint for 'UIKit.UIApplication.Main(System.String[], System.IntPtr, System.IntPtr)' to /Library/Frameworks/Xamarin.iOS.framework/Versions/13.16.0.13/src/Xamarin.iOS/UIKit/UIApplication.cs:85 [0x00000].
That is what I get in my Output Window.
I don't think that it has to do with my code, because as I explained, even if I create a new project, it doesn't run it the first time, it shows a blue screen and then if I reopen if from the emulator, it opens it. But for my own project, it never opens it, even if i try to open if after it is placed to the background.
How can I fix this?