支持的 3.2.X 版本:3.2.1、3.2.0
支持的 3.1.X 版本:3.1.5、3.1.4、3.1.3、3.1.2、3.1.1、3.1.0
支持的 3.0.X 版本:3.0.13、3.0.12、3.0.11、3.0.10、3.0.9、3.0.8、3.0.8、3.0.7
支持的 1.1.1X 版本:1.1.1w、1.1.1v、1.1.1u、1.1.1t、1.1.1s、1.1.1q、1.1.1p、1.1.1o、1.1.1n、1.1.1m、1.1.1l、1.1.1k、1.1.1j、1.1.1i
使用适当的标签或分支选择版本。
此存储库提供了一个通用脚本,用于构建适用于 iOS、visionOS 和 macOS & Catalyst 应用程序的静态 OpenSSL 库。实际库版本从 https://github.com/openssl/openssl 的适当标签(如 'OpenSSL_1_1_1w' 或 'openssl-3.2.1')获取
- 必须安装 Xcode,因为使用了 xcodebuild 创建 xcframeworks
- 必须将
xcode-select -p
指向 Xcode 应用程序开发器目录(默认例如 /Applications/Xcode.app/Contents/Developer)。如果它指向 CommandLineTools 目录,则应执行:sudo xcode-select --reset
或sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
- 为了创建与 visionOS 相关的工件并将其集成到生成的 xcframeworks 中,XROS.platform 和 XRSimulator.platform 应位于以下文件夹中:/Applications/Xcode.app/Contents/Developer/Platforms
- 手动
# clone the repo
git clone 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.
- 使用 Cocoapods。在您的项目 Podfile 中添加以下行
use_frameworks!
pod 'openssl-iosx', '~> 3.2.1'
# or optionally more precisely
# pod 'openssl-iosx', :git => 'https://github.com/apotocki/openssl-iosx', :tag => '3.2.1.1'
安装新的依赖项
pod install --verbose
请查看我在应用商店的 iOS 应用程序
PotoHEX 十六进制文件查看器 & 编辑器 | |
此应用程序旨在在字节或字符级别查看和编辑文件;计算不同的哈希值,编码/解码,以及压缩/解压缩所需的字节区域。
您可以通过尝试以下链接支持我的开源开发:应用。
期待您的反馈!