七月追巽
七月追巽
  • 发布:2021-06-29 17:53
  • 更新:2021-07-06 11:49
  • 阅读:1595

iOS离线包更新SDK报错

分类:HBuilderX

ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
Undefined symbols for architecture x86_64:
"_uchardet_new", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
"_uchardet_handle_data", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
"_uchardet_data_end", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
"_uchardet_get_charset", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
"_uchardet_delete", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Undefined symbol: _uchardet_new
Undefined symbol: _uchardet_handle_data
Undefined symbol: _uchardet_data_end
Undefined symbol: _uchardet_get_charset
Undefined symbol: _uchardet_delete

更新3.8.1版本后报错,请问知道是什么原因吗?

2021-06-29 17:53 负责人:无 分享
已邀请:
CLP

CLP

去离线sdk包里找到Libs文件夹,然后找到libuchardet.a这个库,把这个库引入工程

该问题目前已经被锁定, 无法添加新回复