只为成功找方法,不为失败找理由。

博客园 首页 新随笔 联系 订阅 管理

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

Undefined symbols for architecture arm64:

"_dns_parse_resource_record", referenced from:

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

"_dns_free_resource_record", referenced from:

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

ld: symbol(s) not found for architecture arm64

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

如图所示:

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

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

 

posted on 2018-03-19 17:31  诗意的活着  阅读(1906)  评论(0编辑  收藏  举报