ios集成极光推送:Undefined symbols for architecture arm64: "_dns_parse_resource_record", referenced from:?

添加libresolv.tbd库,即可解决问题

Undefined symbols for architecture arm64:

"_dns_parse_resource_record", referenced from:

-[JPUSHSRVResolver processRecord:length:] in jpush-iOS-2.2..a(JPUSHSRVResolver.o)

"_dns_free_resource_record", referenced from:

-[JPUSHSRVResolver processRecord:length:] in jpush-ios-2.2..a(JPUSHSRVResolver.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code  (use -v to see invocation)

如图所示:

ios集成极光推送:Undefined symbols for architecture arm64:   "_dns_parse_resource_record", referenced from:?

这个是如何添加的详细操作:

https://www.crifan.com/swift_xcode_how_to_add_shared_library_libresolv_9_tbd_libresolv_tbd/

上一篇:Grunt安装与环境配置


下一篇:深入探索Android热修复技术原理读书笔记 —— 代码热修复技术