objectFromJSONString crash when launching app that

2019-07-20 18:33发布

问题:

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).



标签: ios simperium