So I'm maintaining a Xamarin.Forms app currently published on iOS, Android and UWP. My users now would like to have the app ported to Mac. I've tried to load the general Xamarin.Forms project by a Xamarin.Mac project and it kind of works. Doesn't look too good and some of the code is crashing but that's not the point of this question really as I've decided to roll a Xamarin.Mac project which has its own kinds of trouble apparently.
I've created Xamarin.Mac project and done nothing but called NSApplication.Shared.RegisterForRemoteNotification() and I've then overriden RegisteredForRemoteNotifications and FailedToRegisterForNotifications. In those I just currently do a Console.WriteLine to see which function is hit.
I've added com.apple.developer.aps-environment of type with a value of 'development' to the Entitlements.plist file.
Currently when I run the project it starts but none of my WriteLines are hit. I even put a Console.WriteLine into DidFinishLaunching which is not hit either but the app does start. I do get a window on the screen. An empty window as expected as I did not do any work on Main.Storyboard yet but neither of my debug WriteLines are hit.
What am I missing?