Failed to force load assembly

When deploying to an iOS device I get the following error:

[0:] Failed to force load assembly /var/mobile/Containers/Data/Application/C07E8EBF-7CBA-4A6F-B563-20D6566629B9/Documents/meitiMaui.content/Syncfusion.Maui.Core.dll. Type:Syncfusion.Maui.Themes.SyncfusionThemeResourceDictionary. Exception: 'ConvertTo is currently not enabled. To enable compatibility features you will need to call add `builder.UseMauiCompatibility()`.


when adding

.ConfigureSyncfusionCore() to

MauiApp.CreateBuilder()

This does not cause a crash but I wonder if it increases the startup time.


1 Reply

VO Vishal Omprasad Syncfusion Team March 18, 2024 09:15 AM UTC

Hi Max,

Regarding “deploying on iOS device fails”:

Based on the shared details we have checked the reported query with a simple sample in iOS platform. However, we are unable to replicate the reported scenario from our end. The sample deployed with no issues. We have shared the tested sample below for your reference.

Additional information:

SfGauge version: 24.2.9 and 25.1.35 (latest)

Tested iOS simulator: iPhone 15 Pro Max iOS 17.2

XCode version: 15.2

Operative system: macOS Sonoma 14.0

Please check our sample and let us know whether you are still facing the same issue. If the problem persists, kindly modify our sample, and revert to us with the following details which would help us to check on it and provide you a better solution as soon as possible.

  • Tested simulator or device details.

  • A video demonstrating the issue being replicated.

  • Code snippet to replicate the issue.

  • A sample that can reproduce the issue.

Regards,
Vishal O.


Attachment: RadialGaugeDemo_6089ac74.zip

Loader.
Up arrow icon