NetEase / pomelo-cn

The Chinese issues for pomelo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

用官方的pomelo unity socket.io 版本做的聊天,可是已导入ios设备就报异常。

zxlii opened this issue · comments

ExceptionEngineException:Attempting to JIT compile method'(wrapper managed-to-native)
System.Threading.Interlocked:CompareExchange
: SocketIOClient.add_Opened(System.EventHandler value))' while running with --aot-only.

在网上查了下所有在ios上运行的代码都是aot编译,也就是静态编译,代码中对代理的赋值的时候会抛出这个异常,不知道什么原因,