I am facing an issue on an iOS device. After installing the app and opening it, I encounter this error.
Failed to marshal the Objective-C object 0x1257d5880 (type: Microsoft_Maui_Controls_Handlers_Items_VerticalCell). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance (because the type 'Microsoft.Maui.Controls.Handlers.Items.VerticalCell' does not have a constructor that takes one NativeHandle argument).
at ObjCRuntime.Runtime.MissingCtor(IntPtr ptr, IntPtr klass, Type type, MissingCtorResolution resolution, IntPtr sel, RuntimeMethodHandle method_handle) in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 1419
at ObjCRuntime.Runtime.ConstructNSObjectUIView in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 1550
at ObjCRuntime.Runtime.GetNSObjectUIView in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 1949
at ObjCRuntime.Runtime.GetNSObjectUIView in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 1911
at ObjCRuntime.Runtime.GetNSObjectUIView in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 1906
at ObjCRuntime.Runtime.GetNSObjectUIView in /Users/builder/azdo/_work/1/s/macios/src/ObjCRuntime/Runtime.cs:line 1965
at UIKit.UIView.get_Superview() in /Users/builder/azdo/_work/1/s/macios/src/build/dotnet/ios/generated-sources/UIKit/UIView.g.cs:line 4883
at Microsoft.Maui.Platform.ViewExtensions.InvalidateAncestorsMeasures(UIView child)
at Microsoft.Maui.Platform.ViewExtensions.InvalidateMeasure(UIView platformView)
at Microsoft.Maui.Platform.ViewExtensions.InvalidateMeasure(UIView platformView, IView view)
at Microsoft.Maui.Handlers.ViewHandler.MapInvalidateMeasure(IViewHandler handler, IView view, Object args)
at Microsoft.Maui.CommandMapper2.<>c__DisplayClass6_0[[Microsoft.Maui.IView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.IViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v, Object o) at Microsoft.Maui.CommandMapper.InvokeCore(String key, IElementHandler viewHandler, IElement virtualView, Object args) at Microsoft.Maui.CommandMapper.Invoke(IElementHandler viewHandler, IElement virtualView, String property, Object args) at Microsoft.Maui.Handlers.ElementHandler.Invoke(String command, Object args) at Microsoft.Maui.Controls.VisualElement.InvalidateMeasureOverride() at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.InvalidateMeasure() at Microsoft.Maui.Controls.VisualElement.InvalidateMeasureInternal(InvalidationTrigger trigger) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.Controls.IVisualElementController.InvalidateMeasure(InvalidationTrigger trigger) at FFImageLoading.Maui.Platform.CachedImageHandler.<>c__DisplayClass15_0.<ImageLoadingSizeChanged>b__0() at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass1_0.<DispatchAsync>b__0() at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass0_0
1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<DispatchAsync>b__0()
--- End of stack trace from previous ___location ---
at FFImageLoading.Maui.Platform.CachedImageHandler.ImageLoadingSizeChanged(CachedImage element, Boolean isLoading)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at Foundation.NSAsyncSynchronizationContextDispatcher.Apply() in /Users/builder/azdo/_work/1/s/macios/src/Foundation/NSAction.cs:line 179