-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
69 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
## OpenSSL for iOS and Mac OS X (Intel & Apple Silicon M1) & Catalyst - arm64 / x86_64 | ||
|
||
Supported version: 3.0.11 | ||
|
||
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-3.0.11' | ||
|
||
## Prerequisites | ||
1) Xcode must be installed because xcodebuild is used to create xcframeworks | ||
2) ```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``` or ```sudo xcode-select -s /Applications/Xcode.app/Contents/Developer``` | ||
|
||
## How to build? | ||
- Manually | ||
``` | ||
# clone the repo | ||
git clone -b 3.0.11 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', '~> 3.0.11' | ||
# or optionally more precisely | ||
# pod 'openssl-iosx', :git => 'https://github.com/apotocki/openssl-iosx', :tag => '3.0.11.0' | ||
``` | ||
install new dependency: | ||
``` | ||
pod install --verbose | ||
``` | ||
|
||
## As an advertisement… | ||
Look at my iOS application on App Store, please: | ||
|
||
[<table align="center" border=0 cellspacing=0 cellpadding=0><tr><td><img src="https://is4-ssl.mzstatic.com/image/thumb/Purple112/v4/78/d6/f8/78d6f802-78f6-267a-8018-751111f52c10/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/460x0w.webp" width="70"/></td><td><a href="https://apps.apple.com/us/app/potohex/id1620963302">PotoHEX</a><br>HEX File Viewer & Editor</td><tr></table>]() | ||
|
||
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](https://apps.apple.com/us/app/potohex/id1620963302). | ||
|
||
## OpenSSL for iOS and Mac OS X (Intel & Apple Silicon M1) & Catalyst - arm64 / x86_64 | ||
|
||
Supported version: 3.0.12 | ||
|
||
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-3.0.12' | ||
|
||
## Prerequisites | ||
1) Xcode must be installed because xcodebuild is used to create xcframeworks | ||
2) ```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``` or ```sudo xcode-select -s /Applications/Xcode.app/Contents/Developer``` | ||
|
||
## How to build? | ||
- Manually | ||
``` | ||
# clone the repo | ||
git clone -b 3.0.12 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', '~> 3.0.12' | ||
# or optionally more precisely | ||
# pod 'openssl-iosx', :git => 'https://github.com/apotocki/openssl-iosx', :tag => '3.0.12.0' | ||
``` | ||
install new dependency: | ||
``` | ||
pod install --verbose | ||
``` | ||
|
||
## As an advertisement… | ||
Look at my iOS application on App Store, please: | ||
|
||
[<table align="center" border=0 cellspacing=0 cellpadding=0><tr><td><img src="https://is4-ssl.mzstatic.com/image/thumb/Purple112/v4/78/d6/f8/78d6f802-78f6-267a-8018-751111f52c10/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/460x0w.webp" width="70"/></td><td><a href="https://apps.apple.com/us/app/potohex/id1620963302">PotoHEX</a><br>HEX File Viewer & Editor</td><tr></table>]() | ||
|
||
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](https://apps.apple.com/us/app/potohex/id1620963302). | ||
|
||
Feedback is welcome! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "openssl-iosx" | ||
s.version = "3.0.11.0" | ||
s.summary = "OpenSSL" | ||
s.homepage = "https://github.com/apotocki/openssl-iosx" | ||
s.license = "Apache" | ||
s.author = { "Alexander Pototskiy" => "[email protected]" } | ||
s.social_media_url = "https://www.linkedin.com/in/alexander-pototskiy" | ||
s.osx.deployment_target = "11.0" | ||
s.ios.deployment_target = "13.4" | ||
s.osx.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } | ||
s.ios.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } | ||
s.static_framework = true | ||
s.prepare_command = "sh scripts/build.sh" | ||
s.source = { :git => "https://github.com/apotocki/openssl-iosx.git", :tag => "#{s.version}" } | ||
|
||
s.header_mappings_dir = "frameworks/Headers" | ||
s.public_header_files = "frameworks/Headers/**/*.{h,H,c}" | ||
s.source_files = "frameworks/Headers/**/*.{h,H,c}" | ||
s.vendored_frameworks = "frameworks/ssl.xcframework", "frameworks/crypto.xcframework" | ||
|
||
#s.preserve_paths = "frameworks/**/*" | ||
end | ||
Pod::Spec.new do |s| | ||
s.name = "openssl-iosx" | ||
s.version = "3.0.12.0" | ||
s.summary = "OpenSSL" | ||
s.homepage = "https://github.com/apotocki/openssl-iosx" | ||
s.license = "Apache" | ||
s.author = { "Alexander Pototskiy" => "[email protected]" } | ||
s.social_media_url = "https://www.linkedin.com/in/alexander-pototskiy" | ||
s.osx.deployment_target = "11.0" | ||
s.ios.deployment_target = "13.4" | ||
s.osx.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } | ||
s.ios.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } | ||
s.static_framework = true | ||
s.prepare_command = "sh scripts/build.sh" | ||
s.source = { :git => "https://github.com/apotocki/openssl-iosx.git", :tag => "#{s.version}" } | ||
|
||
s.header_mappings_dir = "frameworks/Headers" | ||
s.public_header_files = "frameworks/Headers/**/*.{h,H,c}" | ||
s.source_files = "frameworks/Headers/**/*.{h,H,c}" | ||
s.vendored_frameworks = "frameworks/ssl.xcframework", "frameworks/crypto.xcframework" | ||
|
||
#s.preserve_paths = "frameworks/**/*" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters