I have two xamarin projects
1. Mac binding project that wraps OS X obj-C library.
2. Mac app project
I am referencing the Mac binding project in the mac app project and getting this error.
couple notes on Mac binding project-
This is newly supported in xamarin mac 2.2 (beta channel right now).
However, when I dropped the libxxx.a file it did not auto generate the libxxx.linkwith.cs file.
I created this file with following content:
using ObjCRuntime;
[assembly: LinkWith("libxxx.a", LinkTarget.Arm64 , SmartLink = true, ForceLoad = false)]
the apidefinitions.cs and StructsAndEnums.cs is replaced with sharpie generated .cs file contents
Mac binding project builds in itself and .dll gets generated.
What is it that i am missing or doing wrong here?