Question

I'm creating a iphone app and its contain SBJson_3.1.1 for login purpose [I'm using webservice for login data] but when I run the project it shows the following error and I cant find what its reason I'm quite new to ios development so please guide me.

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SBJsonParser", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Était-ce utile?

La solution

If you are building the SBJson library and have linked your app to that, you will need add the -ObjC and -all_load flags to your linker options.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top