how do I resolve native linking failed after updating VS for Mac 2019. Xamarin.Forms iOS

Brad0117 6 Reputation points
2021-04-05T20:46:03.513+00:00

I updated to VS for Mac version 8.9.4. Xamarin.iOS version 14.14.2.5 and now I get native linking failed errors. I have linker behavior set to Link SDK's only and I get 31 errors. If I set linker to Don't Link, I get 55 of the native linking errors. If I set to Link All I don't get any build errors, but then my dependency service doesn't work. I can get around that with a Preserve attribute but then I get errors other places in the app. Anyone else have this issue with the latest update?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
{count} vote