My .NET MAUI Blazor Hybrid app has used the Syncfusion Blazor RichTextEditor for 4 months on iOS without issues. Recently, when opening a page containing <SfRichTextEditor>, the app crashes and displays the Blazor yellow error line on iOS. The log shows a System.ExecutionEngineException related to JIT compilation and System.Reflection.Emit.DynamicMethod, which is not supported in iOS AOT-only mode.
No code changes have been made to the editor or toolbar commands, and the issue started after updating iOS to 18.6.2.
Is there a workaround or update to make RichTextEditor compatible with iOS AOT, or guidance on how to avoid this crash?
It only crash on my Maui Blazor Hybrid app - all is good when running through my web platform.
Error excerpt:
System.AggregateException: TaskExceptionHolder_UnhandledException (Attempting to JIT compile method '(wrapper dynamic-method) ...Syncfusion.Blazor.Inputs.ColorPickerMode)' while running in aot-only mode.
Environment:
• .NET MAUI (.NET 9)
• Syncfusion Blazor RichTextEditor
• iOS 18.6.2