We use AutoMapper in Xamarin.Forms iOS projects and don't have any issues with Azure DevOps release builds, but when trying the same in .NET MAUI iOS we get the above error with a simple map:
var bla = mapper.Map<Class2>(new Class1());
This is with a release config build on Azure DevOps deployed to TestFlight. I haven't been able to replicate this locally at all.
Any suggestion or pointers? Is there anything I can do to force Automapper to not use reflection?