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

Anonymous
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?

Developer technologies | .NET | Xamarin
{count} vote

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.