mattleibow/square-bindings

Crash on IOS IPad Mini

Opened this issue · 0 comments

System.ExceptionFailed to marshal the Objective-C object 0x15b6d980 (type: Square_SocketRocket_WebSocket__WebSocketDelegate). Could not find an existing managed instance for this object, nor was it possible to create a new managed instance (because the type 'Square.SocketRocket.WebSocket+_WebSocketDelegate' does not have a constructor that takes one IntPtr argument). Additional information: Selector: webSocket:didReceiveMessage: Method: Square.SocketRocket.WebSocket/_WebSocketDelegate:ReceivedMessage (Square.SocketRocket
Raw
UIKit.UIApplication.UIApplicationMain(int, string[], intptr, intptr)(wrapper managed-to-native)
UIKit.UIApplication.Main(string[] args, IntPtr principal, IntPtr delegate)
UIKit.UIApplication.Main(string[] args, string principalClassName, string delegateClassName)
agDemo.iOS.Application.Main(string[] args)
Properties & Custom Values
HResult
-2146233088

I actually have a few of these. The Selector is sometimes different (didFail, onMessage, ect). Every interaction with the binding library is handled with try catch, now sure what else I can do.