美文网首页
"_res_9_ninit", referenced from:

"_res_9_ninit", referenced from:

作者: 东方诗空 | 来源:发表于2020-08-20 10:53 被阅读0次

    Undefined symbols for architecture arm64:
    "_res_9_ninit", referenced from:
    -[UIDevice(HTHelpers) ht_getLocalDNSAddress] in UIDevice+HTHelpers.o
    "_res_9_nclose", referenced from:
    -[UIDevice(HTHelpers) ht_getLocalDNSAddress] in UIDevice+HTHelpers.o
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    缺少系统库所致

    解决方案:TARGETS->build Phases->Link Binary With Libraries 添加库libresolv.tbd

    相关文章

      网友评论

          本文标题:"_res_9_ninit", referenced from:

          本文链接:https://www.haomeiwen.com/subject/khxhlktx.html