Hello,
Welcome to our Microsoft Q&A platform!
IOS applications have had a number of limitations when running on a device. Even using Ahead of Time” (AOT), It can also restrict a number of C# features from being used. To avoid this, try using the interpreter function.
Check the tutorial: https://devblogs.microsoft.com/xamarin/introducing-xamarin-ios-interpreter/
Someone faced the similar problem and solved the issue by configuring the MtouchExtraArgs
tag.
<MtouchExtraArgs>--interpreter=the_assembly ...</MtouchExtraArgs>
<MtouchInterpreter>-all</MtouchInterpreter>
//or
<MtouchExtraArgs>--linkskip=the_assembly ...</MtouchExtraArgs>
Please check: https://stackoverflow.com/a/65809789/11083277
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.