在终端上运行,terminal
# Make a directory in which to run the buildmkdir ~/openssl-ioscd ~/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 scriptcurl -O https://raw.github.com/Raphaelios/raphaelios-scripts/master/openssl/build-openssl.sh# Make the build script executablechmod +x build-openssl.sh# Run the script (takes about 3min on an Intel Core i5)./build-openssl.sh# Verify the architectures builtlipo -info ~/openssl-ios/lib/*.a