Compiler error in using Zbar SDK(library) in xcode 6

235 Views Asked by At

I got the following error while building my project:

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

I have tried all kinds of solutions form Google but I'm unable to solve it.

Screen Shot Attached

1

There are 1 best solutions below

0
musixlemon On

Always ,missing some framework or .m file will occur this kind of problem. You should add .m files manually. TargetSettings -> Build Phases -> Compile Sources -> add your .m class(may be ZBarCaptureReader.m file in your situation) ->Build and Run