A script for compiling OpenSSL for Apple Devices.
Go to file
Davide De Rosa 9ef6ee8a85 Merge branch 'chore/rebrand' 2018-02-08 16:55:09 +01:00
assets Add macOS archs/targets 2018-02-08 16:45:10 +01:00
config Rename 1.1.0 config to more generic 2018-02-08 16:45:10 +01:00
include Preprocessor error for unknown targets and include for TargetConditionals.h 2017-03-04 13:06:21 +01:00
scripts Prefix iOS archs for consistency 2018-02-08 16:45:10 +01:00
.gitignore Strip gitignore 2018-02-08 16:51:22 +01:00
LICENSE Update LICENSE 2016-08-09 13:33:58 +02:00
README.md Rename repository 2018-02-08 16:54:46 +01:00
build-libssl.sh Restrict to SDKs supporting dynamic frameworks 2018-02-08 16:51:28 +01:00
create-openssl-framework.sh Add macOS archs/targets 2018-02-08 16:45:10 +01:00

README.md

OpenSSL-Apple

license OpenSSL version OpenSSL version iOS support tvOS support macOS support

This is a fork of the popular work by Felix Schulze, that is a set of scripts for using self-compiled builds of the OpenSSL library on the iPhone and the Apple TV.

However, this repository focuses more on framework-based setups and also adds macOS support.

Compile library

Compile OpenSSL 1.0.2k for all archs:

./build-libssl.sh --version=1.0.2k

Compile OpenSSL 1.1.0f for all targets:

./build-libssl.sh --version=1.1.0f

Compile OpenSSL 1.0.2k for specific archs:

./build-libssl.sh --version=1.0.2k --archs="ios_armv7 ios_arm64 mac_i386"

Compile OpenSSL 1.1.0f for specific targets:

./build-libssl.sh --version=1.1.0f --targets="ios-cross-armv7 macos64-x86_64"

For all options see:

./build-libssl.sh --help

Generate frameworks

Statically linked:

./create-openssl-framework.sh static

Dynamically linked:

./create-openssl-framework.sh dynamic

Original project