ios - Chartboost 最新的 iOS SDK 在使用示例代码时崩溃

标签 ios objective-c unrecognized-selector chartboost

我的 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/

相关文章:

iphone - 使用 NSURL 请求时的错误 URL

ios - uicollectionview 上的两列

ios - 在 Swift 中生成图像

javascript - 在 iPad 中隐藏地址栏

ios - 通过动态原型(prototype)中的 segue 传递 myCell.textLabel?.text 值

ios - 发送到实例的无法识别的选择器以一种奇怪的方式抛出

iphone - objective-c 中的属性。复制并保留

iphone - 带 URL 的 writeToFile - URL 在下一个 session 中不存在

ios - 将 Plist 填充到 UITableview

iphone - 为什么在定义方法后会出现 "unrecognised selector sent to instance"错误?