OpenSSL and libcurl for Latest iOS.
-
do "sh build-libraries.sh"
-
libraries are created at "lib".
-
Copy libs and headers to your project.
-
Import "libssl.a", "libcrypto.a", "libcurl.a".
-
Reference Headers, "Headers/openssl", "Headers/curl".
-
Specifying the flag "-lz" in "Other Linker Flags" (OTHER_LDFLAGS) setting in the "Linking" section in the Build settings of the target.
-
If use cURL, see below,
#include <curl/curl.h> - (void)foo { CURL* cURL = curl_easy_init(); ... }