XinPing
XinPing
  • 发布:2020-12-21 14:27
  • 更新:2022-02-12 14:19
  • 阅读:795

开发的iOS插件在iOS工程上运行正常,插件上传到插件市场再安装在uni工程上运行出现如下错误

分类:5+ SDK

Undefined symbols for architecture arm64:
\"_res_9_getservers\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_TRTC(TXCStreamUploader.o)
\"_res_9_ninit\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_TRTC(TXCStreamUploader.o)
\"_res_9_ndestroy\", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_TRTC(TXCStreamUploader.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
BUILD FAILED The following build commands failed:
Ld [PackagePath]/build/Release-iphoneos/HBuilder.app/HBuilder normal
(1 failure)

插件市场地址:https://ext.dcloud.net.cn/plugin?id=3644

2020-12-21 14:27 负责人:无 分享
已邀请:
2***@qq.com

2***@qq.com

添加 libresolv.9.tbd 系统库依赖

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