j***@163.com
j***@163.com
  • 发布:2024-11-26 17:22
  • 更新:2024-11-27 09:42
  • 阅读:29

iOS云打包,使用了JCore 打包报错 H4.29

分类:HBuilderX

只接了JCore 极光推送官方SDK。安卓打包没问题,ios打包就报错。

报错链接:https://app.liuyingyong.cn/build/errorLog/26fa5dd0-abd6-11ef-8a1f-4b98a5161b74

2024-11-26 17:22 负责人:无 分享
已邀请:
j***@163.com

j***@163.com (作者)

我找到原因了,因为只集成了JCore,没有集成 它的基础库,也就是JG-JPush。

我碰到的关键报错信息:

Undefined symbols for architecture arm64:
\"_dns_free_resource_record\", referenced from:
-[JCORESRVResolver processRecord:length:] in UniPluginJCore(JCORESRVResolver.o)
\"_dns_parse_resource_record\", referenced from:
-[JCORESRVResolver processRecord:length:] in UniPluginJCore(JCORESRVResolver.o)
\"_res_9_init\", referenced from:
+[JCOREMacAddressManager getDeviceMacFromMDNS:] in UniPluginJCore(JCOREMacAddressManager.o)
\"_res_9_ns_initparse\", referenced from:
+[JCOREMacAddressManager getDeviceMacFromMDNS:] in UniPluginJCore(JCOREMacAddressManager.o)
\"_res_9_ns_parserr\", referenced from:
+[JCOREMacAddressManager getDeviceMacFromMDNS:] in UniPluginJCore(JCOREMacAddressManager.o)
\"_res_9_query\", referenced from:
+[JCOREMacAddressManager getDeviceMacFromMDNS:] in UniPluginJCore(JCOREMacAddressManager.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

要回复问题请先登录注册