jimbob jimbob - 5 months ago 43
iOS Question

Undefined symbols for architecture i386: "_OBJC_CLASS_$_Barcode", referenced from: objc-class-ref in

I am trying to integrate a QR code generating library in to my App.

the QR generator library is:

https://github.com/kuapay/iOS-QR-Code-Generator

I guess I must have integrated it wrong as I am getting this error:

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


What is most likely to be causing this?

Answer

My problem is solved like that.
Please follow the directions:

TargetSettings -> Build Phases -> Compile Sources -> add your .m class  ->Build and Run
Comments