Skip to content
master
Go to file
Code
This branch is 5 commits ahead of miyabichan:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
lib
 
 
 
 
 
 

README.md

Introduction

OpenSSL and libcurl for Latest iOS.

Usage

  1. Do "sh build-libraries.sh"

  2. Libraries are created at "lib".

  3. Copy libs and headers to your project.

  4. Import "libssl.a", "libcrypto.a", "libcurl.a".

  5. Reference Headers, "Headers/openssl", "Headers/curl".

  6. Specifying the flag "-lz" in "Other Linker Flags" (OTHER_LDFLAGS) setting in the "Linking" section in the Build settings of the target.

  7. To use cURL, see below:

    #include <curl/curl.h>
    
    - (void)foo {    
        CURL* cURL = curl_easy_init();  
        ...  
    }
    

Updates

22 Feb 2014

Xcode 5: Updated scripts to work with Xcode 5 and include new 64-bit targets (jasonacox) i386 - iPhoneSimulator x86_64 - iPhoneSimulator [new] armv7 - iPhoneOS armv7s - iPhoneOS arm64 - iPhoneOS [new]

7 Jun 2014

Updated to use new OpenSSL version (1.0.1h). Updated build scirpt to pull down latest cacert.pem.

NOTE: To use the same libcurl header files for 32-bit and 64-bit targets, you need to add a buildtime condition to the curlbuild.h to define the sizeof(long):

/* The size of `long', as computed by sizeof. */
#ifdef __LP64__
#define CURL_SIZEOF_LONG 8
#else
#define CURL_SIZEOF_LONG 4
#endif

28 Jan 2015

Updated build scripts to work with Xcode 6.1.1 and iOS 8.

About

OpenSSL and cURL libraries for iOS. (Outdated - see https://github.com/jasonacox/Build-OpenSSL-cURL)

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.