TouchJSON on iOS: dictionaryWithJSONString unrecognized selector sent to class

294 views Asked by At

I have a static library with TouchJSON in it and I am trying to use dictionaryWithJSONString:error: (within the static library) but I keep getting the runtime exception shown in the title.

I have included the NSDictionary category header file and the implementation file of the extension is definitely in the compiled resources list of the static library.

What else could be the problem?

1

There are 1 answers

0
Ell Neal On BEST ANSWER

You need to add -ObjC to Other Linker Flags in the build settings of your application target.