Couchbase.lite Xamarin forms on macOS

I am wishing to port my Xamarin.Forms project now to macOS.

Is there a way to “Activate” Couchbase lite on this platform? It is (of course) giving me an exception when it is trying to get Service.GetInstance().DefaultDirectory();

Any thoughts?

Sorry, Xamarin macOS is not a supported product by either definition of supported. It simply won’t work as-is. With some modifications to the service class you can probably get it to work though (I know I have before as an experiment in the past). Take a look at the static constructor of Service for an idea of how to include the mac platform in there. It can probably share a lot of the Xamarin iOS implementation, if not all of it.

Thanks! I’ll see what I can do.