iOS编译OpenSSL静态库(使用脚本自动编译)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/i7thTool/article/details/83342804

使用脚本编译:https://github.com/gitusrs/openssl-ios-build-shell-script

1、该脚本只是一个OpenSSL编译脚本,使用时需要自己下载OpenSSL源码(openssl-*.tar.gz)

2、将 openssl-build.sh移到OpenSSL源码包(openssl-*.tar.gz)所在目录

3、编辑OPENSSL_COMPRESSED_FN 和 -miphoneos-version-min( supported minimal iOS version )

4、执行openssl-build.sh

5、使用OpenSSL:使用openssl-version-build/universal/下的OpenSSL库,并参看OpenSSL读写Socket

猜你喜欢

转载自blog.csdn.net/i7thTool/article/details/83342804
今日推荐