When I debug on my iPad device with provisioning profile and linker settings as "Link Framework SDKs only", it crashes

I have my Xamarin.Forms project with Syncfusion components running on Visual Studio for Mac 2019. I use a particular provisioning profile and changed Linker settings in my iOS project to "Link Framework SDKs only". I built the project and ran it on my iPad device in Debug mode. It crashes on startup with the following message:

Cant register the class Syncfusion.ListView.XForms.iOS.ListViewItemRenderer when the dynamic registrar has been linked away

If I change linker settings to Don't Link, I do not have any problems running the app on my iPad. I have updated all Syncfusion components to the latest version as well as Xamarin.Forms package.

Thank you,
Madhu

Attachment: Screen_Shot_20210104_at_6.31.49_PM_47ce1977.zip

1 Reply 1 reply marked as answer

LN Lakshmi Natarajan Syncfusion Team January 6, 2021 07:22 AM UTC

Hi Madhu, 
 
Thank you for using Syncfusion products. 
 
We have checked the reported query “Application crashed with Link Framework SDKs only” from our side. We would like to inform you that this is a known issue in Xamarin.iOS. Also, you can overcome the reported scenario by adding the --optimize=-remove-dynamic-registrar flag to MTouchExtraArgs in the .csproj file. 
 
Please refer to the following link regarding the same, 
 
Please let us know if you need further assistance. 
 
Regards, 
Lakshmi Natarajan 


Marked as answer
Loader.
Up arrow icon