美文网首页
极光推送添加必要库 报错JPUSHSRVResolver pro

极光推送添加必要库 报错JPUSHSRVResolver pro

作者: 小轩言 | 来源:发表于2016-12-19 14:40 被阅读147次
    p.p1 {margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo}
    
    Undefined symbols for architecture x86_64:
      "_dns_free_resource_record", referenced from:
          -[JPUSHSRVResolver processRecord:length:] in jcore-ios-1.0.0.a(JPUSHSRVResolver.o)
      "_dns_parse_resource_record", referenced from:
          -[JPUSHSRVResolver processRecord:length:] in jcore-ios-1.0.0.a(JPUSHSRVResolver.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    

    公司需要搞推送,用原生的嫌麻烦,就用了极光推送,在添加完必要的库后,编译报错,以上,解决办法添加这个库 libresolv,搞定

    相关文章

      网友评论

          本文标题:极光推送添加必要库 报错JPUSHSRVResolver pro

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