2015-09-19 18:46:32 +00:00
|
|
|
OpenSSL for iOS
|
2014-03-29 18:48:16 +00:00
|
|
|
=================
|
2015-09-19 18:58:23 +00:00
|
|
|
Build openssl for iOS development
|
2017-01-08 12:04:08 +00:00
|
|
|
This script will generate static library for armv7s arm64 and x86_64.
|
2015-09-19 18:46:32 +00:00
|
|
|
New Xcode7 bitcode feature supported.
|
2014-03-29 18:48:16 +00:00
|
|
|
|
2015-09-19 18:58:23 +00:00
|
|
|
Script only, please download openssl from here: http://www.openssl.org/source/
|
2017-01-08 12:04:08 +00:00
|
|
|
Tested Xcode 8 and macOS 12
|
|
|
|
Tested openssl 1.1.0c
|
|
|
|
For 1.0.x version, please check branch 1.0.x
|
2014-03-29 18:48:16 +00:00
|
|
|
|
2015-09-19 18:46:32 +00:00
|
|
|
|
2014-03-29 18:48:16 +00:00
|
|
|
Usage
|
|
|
|
=================
|
2014-04-10 21:36:03 +00:00
|
|
|
Copy the following lines to your Terminal.app
|
2014-03-29 18:49:46 +00:00
|
|
|
```
|
2015-08-12 00:08:43 +00:00
|
|
|
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
|
2014-03-29 18:48:16 +00:00
|
|
|
curl https://raw.githubusercontent.com/sinofool/build-openssl-ios/master/build_openssl_dist.sh |bash
|
2014-03-29 18:49:46 +00:00
|
|
|
```
|
2014-04-10 21:36:03 +00:00
|
|
|
Find the result folder openssl-ios-dist on your desktop.
|
2015-09-19 18:46:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
Binary
|
|
|
|
=================
|
|
|
|
You can find a prebuild binary here: https://sinofool.net/dl/openssl-ios-dist.tar.bz2
|
|
|
|
|
|
|
|
Double check the binary file before use:
|
2015-09-19 18:54:06 +00:00
|
|
|
```
|
2015-09-19 18:46:32 +00:00
|
|
|
SHA1:
|
|
|
|
2722f13aac674e213708951fc5f87a16e1b2444e openssl-ios-dist.tar.bz2
|
|
|
|
|
|
|
|
GnuPG: (My Key ID: 9BE18853)
|
|
|
|
https://sinofool.net/dl/openssl-ios-dist.tar.bz2.sig
|
2015-09-19 18:54:06 +00:00
|
|
|
```
|