OpenSSL CocoaPod which vends pre-built frameworks for iOS and OSX.
This utilizes openssl-apple as a submodule to perform the building of the OpenSSL library for the configured platforms and architectures. Using these built products, this project continues by creating an xcframework suitable for use by Swift.
_main_build.sh is configured to build for macOS, iOS, and iOS Simulator for all architectures, and supporting bitcode. Configuration of additional/alternate platforms and architectures (supported by openssl-apple) should be possible but has not been tested.
Specifically, by default, the resulting xcframework will contain:
* arm64 * x86_64
GRKOpenSSLFramework to your podfile:
The repository does contain the pre-built
openssl.xcframework, whose commits have been cryptographically signed by firstname.lastname@example.org.
However if you want to re-build the framework, or build for a different OpenSSL version, etc. it should just be as simple as using the
./_main_build.sh make command to cleanly make the
Update the OpenSSL version by augmenting the
OPENSSL_VERSION variable in
_main_build.sh to the desired version and use the
./_main_build.sh make command to cleanly make the framework.
NOTE: the version of OpenSSL is dependent on the ability of the openssl-apple sub-module to build it. Presently it supports the OpenSSL 1.1.1 versions.
Please see the included LICENSE.txt for complete details.
A professional iOS engineer by day, my name is Levi Brown. Authoring a blog grokin.gs, I am reachable via:
Your constructive comments and feedback are always welcome.