【发布时间】:2014-04-08 21:51:54
【问题描述】:
我在构建中遇到错误(使用 cordova 3.4):
Undefined symbols for architecture i386:
"_iconv", referenced from:
zxing::qrcode::DecodedBitStreamParser::append(std::string&, unsigned char const*, unsigned long, char const*) in zxing-all-in-one.o
"_iconv_close", referenced from:
zxing::qrcode::DecodedBitStreamParser::append(std::string&, unsigned char const*, unsigned long, char const*) in zxing-all-in-one.o
"_iconv_open", referenced from:
zxing::qrcode::DecodedBitStreamParser::append(std::string&, unsigned char const*, unsigned long, char const*) in zxing-all-in-one.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
我很确定这来自手机间隙 QR 扫描仪插件,但我认为它根本不应该构建 i386。二维码扫描器似乎没有该架构的库。
如何告诉科尔多瓦不要构建 i386?还是我错过了什么?
【问题讨论】:
-
你添加了所有需要的框架吗
标签: ios objective-c xcode cordova cordova-3