我想编写适用于 iPhone 和 android 的通用代码。为此,我想使用适用于 android 的 cURL 库,但对于 iOS,它给了我以下错误:
(null): "_curl_easy_cleanup", referenced from:
(null): "_curl_easy_init", referenced from:
(null): "_curl_easy_perform", referenced from:
(null): "_curl_easy_setopt", referenced from:
(null): "_curl_easy_strerror", referenced from:
(null): Linker command failed with exit code 1 (use -v to see invocation)
上述错误表明 libcurl.a 存在一些链接错误。我无法找到合适的解决方案。请帮忙。