|
发表于 2018-8-28 21:41:31
|
显示全部楼层
3.8版本下的,xcode编译时,这个插件里面的libuchardet.a压缩文件缺少x86_64位
在编译的时候,NCUchardet文件中提示64位系统无法识别的符号,具体信息如下:
ld: warning: ignoring file /Volumes/rows2/WeX5_3.8-mac/model/Native/bubu/build/src/platforms/ios/咘咘/Plugins/com.justep.cordova.plugin.barcodescanner/libuchardet.a, missing required architecture x86_64 in file /Volumes/rows2/WeX5_3.8-mac/model/Native/bubu/build/src/platforms/ios/咘咘/Plugins/com.justep.cordova.plugin.barcodescanner/libuchardet.a (2 slices)
Undefined symbols for architecture x86_64:
"_uchardet_data_end", referenced from:
-[NCUchardet encodingStringDetectWithData:length:] in NCUchardet-2605A468AF8F2799.o
"_uchardet_get_charset", referenced from:
-[NCUchardet encodingStringDetectWithData:length:] in NCUchardet-2605A468AF8F2799.o
"_uchardet_reset", referenced from:
-[NCUchardet encodingStringDetectWithData:length:] in NCUchardet-2605A468AF8F2799.o
"_uchardet_handle_data", referenced from:
-[NCUchardet encodingStringDetectWithData:length:] in NCUchardet-2605A468AF8F2799.o
"_uchardet_delete", referenced from:
-[NCUchardet dealloc] in NCUchardet-2605A468AF8F2799.o
"_uchardet_new", referenced from:
-[NCUchardet init] in NCUchardet-2605A468AF8F2799.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation) |
|