Forum Xamarin.iOS

ObjCRuntime Exception On Binding Library that used to work

It's been a while since I used the code but the binding library used to work without any issues. Now I'm getting this exception:

{ObjCRuntime.RuntimeException: Can't determine if Grabba_v2.GRGrabbaBarcode is a custom type when the dynamic registrar has been linked away.
at ObjCRuntime.Class.IsCustomType (System.Type type) [0x0001d] in /Library/Frameworks/Xamarin.iOS.framework/Versions/
at Foundation.NSObject.get_IsCustomType () [0x00017] in /Library/Frameworks/Xamarin.iOS.framework/Versions/
at Foundation.NSObject.MarkDirty (System.Boolean allowCustomTypes) [0x00009] in /Library/Frameworks/Xamarin.iOS.framework/Versions/
at Foundation.NSObject.MarkDirty () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/

I tried setting the Grabba assembly as preserve="all"

I've also set the mtouch flag to -nolinkaway

Not sure where to go from here and a Google search hasn't yielded much.


Sign In or Register to comment.