objectFromJSONString crash when launching app that

2019-07-20 18:01发布

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.

标签: ios simperium
1条回答
萌系小妹纸
2楼-- · 2019-07-20 18:41

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

查看更多
登录 后发表回答