iOS 中的 Nextpeer 在 sdk 初始化的第一行崩溃。SDK版本:1.4.9
代码:
[Nextpeer initializeWithProductKey:@"HERE USED GAME KEY FROM NEXTPEER"
andSettings:settings
andDelegates:[NPDelegatesContainer containerWithNextpeerDelegate:self]];
崩溃日志:
[NSNull length]: unrecognized selector sent to instance 0x3760678
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull length]: unrecognized selector sent to instance 0x3760678'
*** First throw call stack:
(0x362f012 0x28cce7e 0x36ba4bd 0x361ebbc 0x361e94e 0x23bdefc 0x23bde42 0x23be195 0x126708 0x126368 0x28e06b0 0x16a602 0x28e06b0 0x17b203 0x28e06b0 0x230c765 0x35b2f3f 0x35b296f 0x35d5734 0x35d4f44 0x35d4e1b 0x30a67e3 0x30a6668 0x1810ffc 0x17ad6 0x2fe5)
libc++abi.dylib: terminate called throwing an exception
我该如何解决这个问题?缺少要添加的任何框架吗?