我的 iOS 游戏在使用 Chartboost 时崩溃,但这在 2 天前没有发生,当时它运行良好而且我没有做任何更改。
我正在做以下事情:
[Chartboost startWithAppId:@"<<AppID>>" appSignature:@"<<Signature>>" delegate:self];
[[Chartboost sharedChartboost] showInterstitial:CBLocationHomeScreen];
出于安全原因,我删除了 AppID 和签名,但在我的代码中它们是正确的值
这会因错误而崩溃:
2014-06-13 10:09:53.655 3D Line[7903:890b] -[__NSArrayI objectForKey:]: unrecognized selector sent to instance 0x17801e200
2014-06-13 10:09:53.684 3D Line[7903:890b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayI objectForKey:]: unrecognized selector sent to instance 0x17801e200'
*** First throw call stack:
(0x18324af50 0x18f7541fc 0x18324fc04 0x18324d930 0x18316d5dc 0x1001dcf14 0x1001cc430 0x1001cecd0 0x1001cf0d4 0x18fd2c014 0x18fd2bfd4 0x18fd31654 0x18fd2bfd4 0x18fd332b8 0x18fd334fc 0x18fec16bc 0x18fec154c)
libc++abi.dylib: terminating with uncaught exception of type NSException
我认为这与从 Chartboost 发回的 JSON 有关。这是否发生在其他人身上?
最佳答案
我们刚刚为此发布了一个实时修复程序。您无需更新 SDK 即可获得修复,它已经存在 :)
关于ios - Chartboost 最新的 iOS SDK 在使用示例代码时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24195067/