Supported version: 1.1.1o
This repo provides a universal script for building static OpenSSL libraries for use in iOS and Mac OS X applications. The actual library version is taken from https://github.com/openssl/openssl with tag 'OpenSSL_1_1_1o'
- Xcode must be installed because xcodebuild is used to create xcframeworks
xcode-select -p
must point to Xcode app developer directory (by default e.g. /Applications/Xcode.app/Contents/Developer). If it points to CommandLineTools directory you should execute:sudo xcode-select --reset
orsudo xcode-select -s /Applications/Xcode.app/Contents/Developer
- Manually
# clone the repo
git clone -b 1.1.1o https://github.com/apotocki/openssl-iosx
# build libraries
cd openssl-iosx
scripts/build.sh
# have fun, the result artifacts will be located in 'frameworks' folder.
- Use cocoapods. Add the following lines into your project's Podfile:
use_frameworks!
pod 'openssl-iosx', '~> 1.1.1o'
# or optionally more precisely
# pod 'openssl-iosx', :git => 'https://github.com/apotocki/openssl-iosx', :tag => '1.1.1o.2'
install new dependency:
pod install --verbose
Look at my iOS application on App Store, please:
PotoHEX HEX File Viewer & Editor | |
This app is designed for viewing and editing files at byte or character level.
You can support my open-source development by trying the App.
Feedbacks are also welcome!