Build openssl for iOS development, include armv7 armv7s arm64 i386 and x86_64 support.
Find a file
2015-09-19 11:58:23 -07:00
build_openssl_dist.sh fix build path for new sdk 2015-08-11 17:10:12 -07:00
patch-conf.patch iOS9/Xcode7 bitcode update 2015-09-19 11:46:32 -07:00
patch-include.patch Line align to 1.0.1i 2014-09-30 12:03:07 -07:00
README.md Update README.md 2015-09-19 11:58:23 -07:00

OpenSSL for iOS

Build openssl for iOS development
This script will generate static library for armv7 armv7s arm64 i386 and x86_64.
New Xcode7 bitcode feature supported.

Script only, please download openssl from here: http://www.openssl.org/source/
Tested iOS SDK 9.0 and MacOSX 10.11
Tested openssl 1.0.2d

Usage

Copy the following lines to your Terminal.app

curl -O http://www.openssl.org/source/openssl-1.0.2d.tar.gz
tar xf openssl-1.0.2d.tar.gz
cd openssl-1.0.2d
curl https://raw.githubusercontent.com/sinofool/build-openssl-ios/master/build_openssl_dist.sh |bash

Find the result folder openssl-ios-dist on your desktop.

Binary

You can find a prebuild binary here: https://sinofool.net/dl/openssl-ios-dist.tar.bz2

Double check the binary file before use:

SHA1:
2722f13aac674e213708951fc5f87a16e1b2444e  openssl-ios-dist.tar.bz2

GnuPG: (My Key ID: 9BE18853)
https://sinofool.net/dl/openssl-ios-dist.tar.bz2.sig