OpenSSL and Cyrus-SASL 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", "libsasl2.a".
-
Reference Headers, "Headers/openssl", "Headers/sasl".
-
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 <sasl/sasl.h> - (void)foo { ... }