iOS中的NextPer在sdk初始化的第一行崩潰。 SDK版本:1.4.9iOS遊戲中的NextPer在第一行崩潰:NSNull長度
代碼:
[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
我怎樣才能解決這個問題呢?缺少添加的任何框架?
如果您確信一切都按照設置他們的指示,你應該問Nextpeer的支持。 – LearnCocos2D 2013-05-10 19:03:13