The goal of this project is to provide a pre-compiled version of libcurl to be used in Android and iOS.
It uses cURL from the upstream repository and it's updated frequently.
For Android, it also uses OpenSSL from its upstream repository.
If you want to build the library, scripts are provided for both platforms. Test projects are also provided for both iOS and Android.
git clone git@github.com:gcesarmza/curl-android-ios.git
git submodule init && git submodule update
autoconf
, automake
and libtool
or install them with apt-get
or brew
xcode-select --install
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
cd curl-android-ios/curl-compile-scripts
export NDK_ROOT=PATH_WHERE_NDK_IS
./build_Android.sh
cd curl-android-ios/curl-compile-scripts
./build_iOS.sh