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.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/

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM