You can just create cURL for iOS. Here is the Makefile for building the iOS lib.
Save this file in your home folder as “build-cURL.sh”, then open “Terminal” and paste:
export CURL_VERSION=7.23.0 sh ~/build-cURL.sh
Then the script should create a static library that you can add to your project. Then you want to add the .h files and it will be ready to go.
I used lipo to create a live binary library file so that it works both on the sim and on the device, downloading it from here . Then add the curl folder to your project and add the library. To do this, click on your project in the upper left corner, click on your goal, click on the “Build Phases” tab, omit “Link Binary Files to Libraries”, click on the “plus” icon and select the .a file.
source share