Skip to content
Browse files

Support for iOS 6.0 and iPhone 5 (armv7s) - Remove armv6 support

  • Loading branch information...
1 parent af957c2 commit 452e6c0dcbef2c88da2350572a423e35a4e1827c @x2on committed Sep 21, 2012
Showing with 12 additions and 6 deletions.
  1. +7 −1 README.md
  2. +5 −5 build-libssl.sh
View
8 README.md
@@ -3,6 +3,7 @@
From <http://www.x2on.de/2010/02/01/tutorial-iphone-app-with-compiled-openssl-library/> and <http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/>
## Changelog
+* 2012-09-21: Support for iOS 6.0 and iPhone 5 (armv7s) - Remove armv6 support
* 2012-05-17: OpenSSL 1.0.1c
* 2012-05-02: OpenSSL 1.0.1b
* 2012-04-01: OpenSSL 1.0.1 + Modernizes project to use ARC
@@ -23,4 +24,9 @@ This is a tutorial for using self-compiled builds of the OpenSSL-library on the
**Enjoy OpenSSL on the iPhone!**
-I have made an iOS 4.0 XCode Project with OpenSSL Libaries. The examples uses the MD5 or SHA256-algorithm to calculate an md5 or sha256 hash from an UITextfield.
+I have made an iOS 6.0 XCode Project with OpenSSL Libaries. The examples uses the MD5 or SHA256-algorithm to calculate an md5 or sha256 hash from an UITextfield.
+
+## System support
+**iOS 4.3 - iOS 6.0 (i386, armv7, armv7s) is currently supported.**
+
+For iOS < 4.3 you must use iOS SDK < 6.0 and an older version of the build script.
View
10 build-libssl.sh
@@ -22,7 +22,7 @@
# Change values here #
# #
VERSION="1.0.1c" #
-SDKVERSION="5.1" #
+SDKVERSION="6.0" #
# #
###########################################################################
# #
@@ -32,11 +32,11 @@ SDKVERSION="5.1" #
CURRENTPATH=`pwd`
-ARCHS="i386 armv6 armv7"
+ARCHS="i386 armv7 armv7s"
DEVELOPER=`xcode-select -print-path`
if [ ! -d "$DEVELOPER" ]; then
- echo "xcode path is not set correctly $DEVELOPER does not exist (most likely because of xcode 4.3)"
+ echo "xcode path is not set correctly $DEVELOPER does not exist (most likely because of xcode > 4.3)"
echo "run"
echo "sudo xcode-select -switch <xcode path>"
echo "for default installation:"
@@ -90,9 +90,9 @@ do
done
echo "Build library..."
-lipo -create ${CURRENTPATH}/bin/iPhoneSimulator${SDKVERSION}-i386.sdk/lib/libssl.a ${CURRENTPATH}/bin/iPhoneOS${SDKVERSION}-armv6.sdk/lib/libssl.a ${CURRENTPATH}/bin/iPhoneOS${SDKVERSION}-armv7.sdk/lib/libssl.a -output ${CURRENTPATH}/lib/libssl.a
+lipo -create ${CURRENTPATH}/bin/iPhoneSimulator${SDKVERSION}-i386.sdk/lib/libssl.a ${CURRENTPATH}/bin/iPhoneOS${SDKVERSION}-armv7.sdk/lib/libssl.a ${CURRENTPATH}/bin/iPhoneOS${SDKVERSION}-armv7s.sdk/lib/libssl.a -output ${CURRENTPATH}/lib/libssl.a
-lipo -create ${CURRENTPATH}/bin/iPhoneSimulator${SDKVERSION}-i386.sdk/lib/libcrypto.a ${CURRENTPATH}/bin/iPhoneOS${SDKVERSION}-armv6.sdk/lib/libcrypto.a ${CURRENTPATH}/bin/iPhoneOS${SDKVERSION}-armv7.sdk/lib/libcrypto.a -output ${CURRENTPATH}/lib/libcrypto.a
+lipo -create ${CURRENTPATH}/bin/iPhoneSimulator${SDKVERSION}-i386.sdk/lib/libcrypto.a ${CURRENTPATH}/bin/iPhoneOS${SDKVERSION}-armv7.sdk/lib/libcrypto.a ${CURRENTPATH}/bin/iPhoneOS${SDKVERSION}-armv7s.sdk/lib/libcrypto.a -output ${CURRENTPATH}/lib/libcrypto.a
mkdir -p ${CURRENTPATH}/include
cp -R ${CURRENTPATH}/bin/iPhoneSimulator${SDKVERSION}-i386.sdk/include/openssl ${CURRENTPATH}/include/

0 comments on commit 452e6c0

Please sign in to comment.
Something went wrong with that request. Please try again.