Latest 0.1.0
Homepage https://github.com/LengYi/OpenSSL-lib-iOS
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

OpenSSL-lib-iOS is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'OpenSSL-lib-iOS'

Author

[email protected], [email protected]

License

OpenSSL-lib-iOS is available under the MIT license. See the LICENSE file for more info.

OpenSSL-iOS

根据最新官方源码编译的 OpenSSL iOS 库, 官方网址: https://www.openssl.org/source/

1.cd OpenSSL-iOS/Build
2.运行 ./build-libssl.sh 脚本 运行后如果同级目录下有 openssl-1.0.2l.tar.gz包则直接编译,否则先下载该包(时间略久) 编译之前先修改脚本内容 VERSION="1.0.2l" 为指定的原始包版本
3.运行 ./create-openssl-framework.sh 编译成openssl.framework包
4.将openssl.framework 拷贝至 /OpenSSL-iOS/OpenSSL-iOS/Vendors/目录下
5.编辑更新OpenSSL-iOS.podspec

Latest podspec

{
    "name": "OpenSSL-lib-iOS",
    "version": "0.1.0",
    "summary": "u6839u636eu6700u65b0u5b98u65b9u6e90u7801u7f16u8bd1u7684 OpenSSL iOS u5e93",
    "description": "u6839u636eu6700u65b0u5b98u65b9u6e90u7801u7f16u8bd1u7684 OpenSSL iOS u5e93, u5b98u65b9u7f51u5740: https://www.openssl.org/source/",
    "homepage": "https://github.com/LengYi/OpenSSL-lib-iOS",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "[email protected]": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LengYi/OpenSSL-lib-iOS.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "OpenSSL-lib-iOS/Classes/**/*",
    "ios": {
        "vendored_frameworks": "OpenSSL-lib-iOS/Vendors/openssl.framework"
    },
    "user_target_xcconfig": {
        "FRAMEWORK_SEARCH_PATHS": "${PODS_ROOT}/../../OpenSSL-lib-iOS/Vendors"
    }
}

Pin It on Pinterest

Share This