I have a bindings project and the linkwith file contains
[assembly: LinkWith("libboringssl.a", LinkTarget.ArmV7 | LinkTarget.Simulator | LinkTarget.Simulator64 | LinkTarget.Arm64, Frameworks = "SystemConfiguration AudioToolbox AVFoundation CoreTelephony PushKit CallKit", LinkerFlags = "-ObjC", SmartLink = true, ForceLoad = true)]
The project builds and is then referenced in a separate project but when Xamarin.iOS project tries compiling to native it throws MT5210 errors.
Do I somehow need to include/reference the native frameworks above?
add the following as additional mtouch arguments:
-cxx -gcc_flags "-lc++"
Right click your iOS project->property->ios Build
Answers
add the following as additional mtouch arguments:
Right click your iOS project->property->ios Build
Thanks Lucas, I'll try it now. My additoinal mtouch arguments already has --registrar:static so would this become