I'm trying out XF for MacOS just to get an idea about how well it might work for me in the future. I'm stuck on an issue though just trying to get it to run that I don't know how to work around.
I followed the instructions I found here.
The problem I'm getting is when I call the base.FinishedLoading(notification);
public override void DidFinishLaunching(NSNotification notification)
base.DidFinishLaunching(notification); //exception occurs here.
I get a generic object not set to an instance of an object exception. If I comment out that line I don't get an exception but no "Welcome To Xamarin Forms" for my generic base page comes up either. I've tried various versions of the XF from the pre-release that is mentioned into the blog up to the latest pre-release, and latest official release.
I have been able to get the sample project from the blog to work with no problem. Best I can tell is there is some step missing from the blog's instructions.
at Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate.UpdateMainMenu () [0x00021] in <95b581f2e57b44db8131a119f4c293d9>:0
at Xamarin.Forms.Platform.MacOS.FormsApplicationDelegate.DidFinishLaunching (Foundation.NSNotification notification) [0x00047] in <95b581f2e57b44db8131a119f4c293d9>:0
at PackageHubMacOS.AppDelegate.DidFinishLaunching (Foundation.NSNotification notification) [0x00013] in /Users/almajensen/Projects/DefaultCollection/_git/ONI.Azure/Package Hub/Test/MobileTester/PackageHubMacOS/AppDelegate.cs:32
at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string)
at AppKit.NSApplication.Main (System.String args) [0x00041] in /Library/Frameworks/Xamarin.Mac.framework/Versions/188.8.131.52/src/Xamarin.Mac/AppKit/NSApplication.cs:100
at PackageHubMacOS.MainClass.Main (System.String args) [0x00017] in /Users/almajensen/Projects/DefaultCollection/_git/ONI.Azure/Package Hub/Test/MobileTester/PackageHubMacOS/Main.cs:11