问题
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