grk

GRKOpenSSLFramework

OpenSSL CocoaPod for iOS and OSX

Showing:

Popularity

Downloads/wk

0

GitHub Stars

41

Maintenance

Last Commit

4d ago

Contributors

13

Package

Dependencies

0

License

OpenSSL (OpenSSL/SSLeay)

Categories

Readme

GRKOpenSSLFramework

OpenSSL CocoaPod which vends pre-built frameworks for iOS and OSX.

About

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.

Platforms and Architecture

By default _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:

  • macos

    * arm64
    * x86_64
    

    FRAMEWORKS_macos='macos-arm64_x86_64'

  • ios

    • arm64
    • arm64e
  • ios-simulator

    • arm64
    • x86_64

Installing

Simply add GRKOpenSSLFramework to your podfile:

pod 'GRKOpenSSLFramework'

Building

The repository does contain the pre-built openssl.xcframework, whose commits have been cryptographically signed by levigroker@gmail.com.

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 openssl.xcframework.

Updating OpenSSL Version

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.

Licence

Please see the included LICENSE.txt for complete details.

About

A professional iOS engineer by day, my name is Levi Brown. Authoring a blog grokin.gs, I am reachable via:

Twitter @levigroker
Email levigroker@gmail.com

Your constructive comments and feedback are always welcome.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100