Forum Xamarin.Mac


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

NSSavePanel broken on MacOS Catalina?

JamesB7JamesB7 USMember ✭✭


I am finding that on MacOS Catalina, Xamarin.Mac crashes when calling the NSSavePanel constructor. It says "the native 'init' method returned nil". The same for NSOpenPanel. One suggestion I found online was to use NSSavePanel.SavePanel instead, but this did not work. The save dialog opened just fine in all previous versions What can I do about this?




  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    10.15 changed the save and open panels to be out of process. The SavePanel static should work.

    Please file an issue with a small example program.

  • JamesB7JamesB7 USMember ✭✭

    The static does not work if Mono is launched from a shell script. It is unclear why. Is there any way around this?

  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    Unknown, Apple made changes to make those out of process to my knowledge. I am unsure what you'd need to do to support that without research.

Sign In or Register to comment.