You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build MAUI Blazor App w/ Geoblazor Map
Deploy for Release to iOS (locally or Testflight)
Load Map
What Happens
An exception is thrown
System.ExecutionEngineException: Attempting to JIT compile method '(wrapper dynamic-method) object object:Thunk1ret_Object_CallSite_Boolean_Object (System.Func`2<object[], object>,System.Runtime.CompilerServices.CallSite,bool,object)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.
...
at dymaptic.GeoBlazor.Core.Components.Views.MapView.GetActiveEventHandlers()
at dymaptic.GeoBlazor.Core.Components.Views.MapView.<RenderView>b__308_2()
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
Steps to Reproduce
Build MAUI Blazor App w/ Geoblazor Map
Deploy for Release to iOS (locally or Testflight)
Load Map
What Happens
An exception is thrown
In the
GetActiveEventHandlers
method, adynamic
object is used which is not allowed on iOS with .NET (noted here - https://learn.microsoft.com/en-us/xamarin/ios/internals/limitations#systemreflectionemit). This was the only instance ofdynamic
I could find in the project.I have PR incoming shortly to fix this with pattern matching instead, but I wanted to open the issue for tracking.
/cc @anotherlab
The text was updated successfully, but these errors were encountered: