广告
Undefined symbols for architecture arm64:
“_res_9_nclose”, referenced from:
___21+[GSDKInfoTool dnsIP]_block_invoke in GSDK(GSDK)
“_res_9_ninit”, referenced from:
___21+[GSDKInfoTool dnsIP]_block_invoke in GSDK(GSDK)
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
这个逼装的我给82分,剩下的用666的方式打给你!
没有介绍便是最好的介绍