2

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.

Alex Aza
  • 76,499
  • 26
  • 155
  • 134
Ray V.
  • 23
  • 3

1 Answers1

10

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

mikejohnstn
  • 757
  • 5
  • 8
  • 1
    I F**KING LOVE YOU!!! Working on an App using Philips Hue SDK and was searching for hours why my app is crashing. You're the best :) – mahega Aug 30 '14 at 07:20