Giter VIP home page Giter VIP logo

grkopensslframework's Introduction

GRKOpenSSLFramework

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

Notice

This is merely a wrapper which builds off of work done by others. The original comes from https://github.com/krzyzanowskim/OpenSSL and includes work done by @jcavar to build proper frameworks. I have repackaged that work as a CocoaPod such that OpenSSL can be used by macOS and iOS projects requiring frameworks.

Please see the Reference section below for more details.

Installing

Simply add GRKOpenSSLFramework to your podfile:

pod 'GRKOpenSSLFramework'

Building

While the repository does contain the pre-built frameworks, if you want to re-build them:

iOS

  1. Open in Xcode: OpenSSL/OpenSSL-iOS/OpenSSL-iOS.xcodeproj
  2. Clean Build Folder (Option-Shift-Command-K)
  3. Build
  4. Use the ./_master_build.sh valid command to validate the built framework.
  5. Result is located: OpenSSL/OpenSSL-iOS/bin/openssl.framework

macOS

  1. Open in Xcode: OpenSSL/OpenSSL-macOS/OpenSSL-macOS.xcodeproj
  2. Clean Build Folder (Option-Shift-Command-K)
  3. Build
  4. Build again. This is needed to ensure the modulemap file is available.
  5. Result is located: OpenSSL/OpenSSL-macOS/bin/openssl.framework

Updating OpenSSL Version

The build scripts and projects are all tailored for the 1.1.0 series of OpenSSL, so if you're attempting to use a different series you might run into some issues.

  1. Download the source tarball from https://www.openssl.org/source/
  2. Download the PGP sig as well, and validate the tarball's signature.
  3. Place the downloaded file in this directory.
  4. Update the OPENSSL_VERSION value in the _master_build.sh
  5. Clean, using the ./_master_build.sh clean command.
  6. Build, using the ./_master_build.sh build command.
  7. Follow the steps outlined in "Building" (above).

Reference

krzyzanowskim#9
krzyzanowskim#27
https://github.com/jcavar/OpenSSL
https://pewpewthespells.com/blog/convert_static_to_dynamic.html

Licence

This work is licensed under the OpenSSL (OpenSSL/SSLeay) License. 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 [email protected]

Your constructive comments and feedback are always welcome.

grkopensslframework's People

Contributors

aufflick avatar charlesmchen avatar dnpp73 avatar jcavar avatar justinplouffe avatar krzyzanowskim avatar levigroker avatar michaelkirk avatar vixentael avatar yaakov-h avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.