Build openssl for iOS development, include armv7 armv7s arm64 i386 and x86_64 support.
Find a file
Vishesh Handa 84f7f3387b Build with different options
We need it to be built with engine support. In Android I'm only adding
no-shared. However, I see in https://github.com/Frugghi/iSSH2/blob/master/iSSH2-openssl.sh
that these extra flags are there. I'm not sure if libgit2 or libssh2 will need them. Lets see
2019-05-28 16:01:44 +02:00
build_openssl_dist.sh Build with different options 2019-05-28 16:01:44 +02:00
LICENSE Create LICENSE 2017-09-06 19:14:08 +08:00
patch-conf.patch Update for openssl-1.1.1b 2019-05-21 15:54:31 +02:00
patch-include.patch 1.1.0c support 2017-01-08 04:04:08 -08:00
README.md Update for openssl-1.1.1b 2019-05-21 15:54:31 +02:00

OpenSSL for iOS

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

Script only, please download openssl from here: http://www.openssl.org/source/
Tested Xcode 10 and macOS 10.13 Tested openssl 1.1.1 For 1.0.x version, please check branch 1.0.x

Usage

Copy the following lines to your Terminal.app

curl -O https://www.openssl.org/source/openssl-1.1.1b.tar.gz
tar xf openssl-1.1.1b.tar.gz
cd openssl-1.1.1b
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 (old 1.0.2c)

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