LIBSSH2 for iOS and Mac OS X (Intel & Apple Silicon M1) - arm64 / x86_64
支持的版本:1.10.0
此仓库提供了一个用于在 iOS 和 Mac OS X 应用程序中使用静态 LIBSSH2 库的通用脚本。实际的库版本是从带有标签 'libssh2-1.10.0' 的 https://github.com/libssh2/libssh2.git 中获取的
构建说明
- 库正在使用具有 OpenSSL 后端进行构建。OpenSSL 构建脚本来自 https://github.com/apotocki/openssl-iosx 并使用 'pod' 工具运行。
- 库正在使用启用的 ZLIB 压缩进行构建,这在系统 SDK 中可用。
如何构建?
- 手动
# clone the repo
git clone -b 1.10.0 https://github.com/apotocki/libssh2-iosx
# build libraries
cd libssh2-iosx
scripts/build.sh
# have fun, the result artifacts will be located in 'frameworks' folder.
- 使用 Cocoapods。将以下行添加到项目 Podfile 中
use_frameworks!
pod 'libssh2-iosx', '~> 1.10.0'
# or optionally more precisely
# pod 'libssh2-iosx', :git => 'https://github.com/apotocki/libssh2-iosx', :tag => '1.10.0.2'
安装新依赖项
pod install --verbose
作为一个广告……
请在App Store上查看我的iOS应用
PotoHEX 十六进制文件查看器与编辑器 | |
本应用旨在查看和编辑按字节或字符级别的文件。
您可以通过尝试应用来支持我的开源开发。
也欢迎提供反馈!