关于IOS mailcore2 github最新版编译失败问题小计
1.ld:
library not found for -luchardet-ios
删除other linker flags 中的-luchardet-ios
2.Undefined symbols for architecture arm64: "_res_9_ns_initparse", referenced from: mailcore::MXRecordResolverOperation::main()
in libMailCore-ios.a(MCMXRecordResolverOperation.o) "_res_9_search", referenced from: mailcore::MXRecordResolverOperation::main() in libMailCore-ios.a(MCMXRecordResolverOperation.o) "_res_9_ns_parserr", referenced from: mailcore::MXRecordResolverOperation::main()
in libMailCore-ios.a(MCMXRecordResolverOperation.o) "_res_9_ns_sprintrr", referenced from: mailcore::MXRecordResolverOperation::main() in libMailCore-ios.a(MCMXRecordResolverOperation.o) "_res_9_dn_expand", referenced from: mailcore::MXRecordResolverOperation::main()
in libMailCore-ios.a(MCMXRecordResolverOperation.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
在other linker flags 中添加-lresolv
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。