Because the project needs to generate two-dimensional code based on the user's information, QR Code SDK mainstream (ZXing) (Zbar), I chose (Zbar), but in the process of adding such a problem:
"_objc_class_$_xx file name", referenced from:
Linker command failed with exit code 1 (use-v to see invocation)
Problem handling:
Cause Analysis:
Build Active Architecture only
This property is set to Yes, in order to debug the compiler faster, it only compiles the current version of architecture, so will be error compiled file, error ("_objc_class_$_zbarreaderviewcontroller", Referenced from:)
When set to No, all versions are compiled, which solves the problem of compilation errors.
This is the device corresponding to the architecture:
Armv6:iphone 2g/3g,ipod 1g/2g
Armv7:iphone 3gs/4/4s,ipod 3g/4g,ipad 1g/2g/3g
Armv7s:iphone5, IPOD5
Arm64:iphone5s
The compiled version is backwards compatible, such as you set this value to Yes, compiled with iphone4 is the ARMV7 version, Iphone5 can also run, but the ARMV6 device cannot run.
The warm hint, release when the time to change to no, to adapt to different equipment.
IOS Essay--_objc_class_$xxx ", referenced from: and LINKER COMMAND FAILED with EXIT CODE 1 (use-v to see invocation) Problem resolution