xcode openssl

来源:互联网 发布:2017网络十大英语热词 编辑:程序博客网 时间:2024/06/05 08:55

在终端上运行,terminal


# Make a directory in which to run the build
mkdir ~/openssl-ios
cd ~/openssl-ios
# Download the openssl source (verify the file before using it in production!)
curl -O http://www.openssl.org/source/openssl-1.0.1e.tar.gz
# Download the openssl iOS build script
curl -O https://raw.github.com/Raphaelios/raphaelios-scripts/master/openssl/build-openssl.sh
# Make the build script executable
chmod +x build-openssl.sh
# Run the script (takes about 3min on an Intel Core i5)
./build-openssl.sh
# Verify the architectures built
lipo -info ~/openssl-ios/lib/*.a
0 0
原创粉丝点击