像这种错误问题是由于zbar的静态库文件没有导入,出现错误的提示为
"_inflateEnd", referenced from:
_unzCloseCurrentFile in unzip.o"_inflateInit2_", referenced from:
_unzOpenCurrentFile3 in unzip.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决办法是 需要导入libiconv.dylib静态库
另一种错误是Undefined symbols for architecture i386: "_OBJC_CLASS_$_ZBarReaderController", referenced from:
解决办法是更新zbarSDK的.a文件