Undefined symbols for architecture arm64:
"_res_9_getservers", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)
tx_getdnssvraddrs(std::__1::vector<tx_socket_address, std::__1::allocator<tx_socket_address> >&) in TXLiteAVSDK_Professional(getdnssvraddrs.o)
"_res_9_ninit", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)
tx_getdnssvraddrs(std::__1::vector<tx_socket_address, std::__1::allocator<tx_socket_address> >&) in TXLiteAVSDK_Professional(getdnssvraddrs.o)
"_res_9_ndestroy", referenced from:
-[TXCStreamUploader getDNSServers] in TXLiteAVSDK_Professional(TXCStreamUploader.o)
tx_getdnssvraddrs(std::__1::vector<tx_socket_address, std::__1::allocator<tx_socket_address> >&) in TXLiteAVSDK_Professional(getdnssvraddrs.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
缺少:libresolv.9.tbd库导致