Fix ObjCRuntime.RuntimeException: Failed to marshal the Objective-C object 0x125463d10 (type: Microsoft_Maui_Platform_LayoutView). 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.Platform.LayoutView' does not have a constructor that takes one NativeHandle argument). in Runtime.MissingCtor (IntPtr ptr, IntPtr klass, Type type, MissingCtorResolution resolution, IntPtr sel, RuntimeMethodHandle method_handle) (/Users/USER/azdo/_work/1/s/xamarin-macios/src/ObjCRuntime/Runtime.cs:1323)
Closed this issue · 0 comments
thewizrd commented
Version 5.9.5(859501)
Stacktrace
Reason
ObjCRuntime.RuntimeException: Failed to marshal the Objective-C object 0x125463d10 (type: Microsoft_Maui_Platform_LayoutView). 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.Platform.LayoutView' does not have a constructor that takes one NativeHandle argument).