objectFromJSONString crash when launching app that uses Simperium

我的梦境 提交于 2020-01-05 01:59:25

问题


I'm getting a JSON crash when I try to launch an app that uses the Simperium framework:

[__NSCFString objectFromJSONString]: unrecognized selector sent to instance 0x6c561a0

It happens immediately. Am I missing an external dependency? It looks like a JSONKit method.


回答1:


Simperium uses JSONKit internally. You'll need to add -ObjC to your Other Linker Flags (found under Build Settings in your target).



来源:https://stackoverflow.com/questions/10478030/objectfromjsonstring-crash-when-launching-app-that-uses-simperium

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!