注册

直接使用环信大表哥的简版iOS demo中的代码,移植到新项目,运行后点击联系人进行聊天就崩溃

错误 日志 如下:


0002.png


 
 
 
 
+[NSBundle RedpacketBundle]: unrecognized selector sent to class 0x1a88f63d0

2017-11-09 14:41:48.093947+0800 HXIM[5988:3078181] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSBundle RedpacketBundle]: unrecognized selector sent to class 0x1a88f63d0'

*** First throw call stack:

(0x182606fe0 0x181068538 0x18260de34 0x18260af54 0x182506d4c 0x1002b10e0 0x1002b1038 0x1002a10a4 0x1001b37e0 0x188738b04 0x188750590 0x1888d4e18 0x1887ef7bc 0x1887ef424 0x1887ef388 0x188735cc0 0x185926274 0x18591ade8 0x18591aca8 0x18589634c 0x1858bd3ac 0x18872b308 0x1825b49a8 0x1825b2630 0x1825b2a7c 0x1824e2da4 0x183f4d074 0x18879dc9c 0x1001e173c 0x1814f159c)

libc++abi.dylib: terminating with uncaught exception of type NSException
已邀请:
自己 把 关于 红包的功能类,都注释了, 这个问题就解决了, 项目暂时不需要 红包功能,索性就全部注释掉了。  全局搜索 :“ Redpacket”, 聊天界面涉及红包功能的类,都注释掉。

要回复问题请先登录注册