Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

ObjCRuntime Exception On Binding Library that used to work

$
0
0

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/11.14.0.11/src/Xamarin.iOS/ObjCRuntime/Class.cs:511
at Foundation.NSObject.get_IsCustomType () [0x00017] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.11/src/Xamarin.iOS/Foundation/NSObject2.cs:112
at Foundation.NSObject.MarkDirty (System.Boolean allowCustomTypes) [0x00009] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.11/src/Xamarin.iOS/Foundation/NSObject2.cs:186
at Foundation.NSObject.MarkDirty () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.14.0.11/src/Xamarin.iOS/Foundation/NSObject2.cs:178
...

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.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>