Comments on: Quick Tip: Compile OpenSSL For Both ARM and ARM64 for iOS. https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/ Teaching you cool stuff since 2012. Fri, 21 Jun 2019 10:32:11 +0000 hourly 1 https://wordpress.org/?v=4.9.10 By: fbartolom https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-381 Sun, 28 Dec 2014 09:13:38 +0000 http://andyibanez.com/?p=215#comment-381 My present problem is importing: openssl/bio.h; Xcode does not seem to find it, even after having included the libraries, and I need it to process the new inApp receipts. Any hint?

]]>
By: fbartolom https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-380 Sat, 27 Dec 2014 14:16:41 +0000 http://andyibanez.com/?p=215#comment-380 The problem is that the script is looking for:
clang: warning: no such sysroot directory: ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk’

While my directory contains iPhoneOS8.1.sdk’. Passing 8.1 as a -z parameter does not work. What to do?

]]>
By: fbartolom https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-379 Sat, 27 Dec 2014 12:39:46 +0000 http://andyibanez.com/?p=215#comment-379 It went better after I cleared the temp files; now I get:
openssl-ios fbartolom$ build3-openssl.sh
Cleaning up
Downloading openssl-1.0.1h.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4370k 100 4370k 0 0 802k 0 0:00:05 0:00:05 –:–:– 852k
Unpacking openssl
Building openssl-1.0.1h for i386
Building openssl-1.0.1h for x86_64
Copying headers
Building Mac libraries
Building openssl-1.0.1h for iPhoneOS 7.1 armv7

but strangely the include directory only includes:
-rw-r–r– 1 fbartolom staff 6028448 27 Dic 13:33 libcrypto_Mac.a
-rw-r–r– 1 fbartolom staff 1072504 27 Dic 13:33 libssl_Mac.a

]]>
By: fbartolom https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-378 Sat, 27 Dec 2014 12:22:15 +0000 http://andyibanez.com/?p=215#comment-378 The error in the logs is at:
installing man7/des_modes.7
installing man3/dh.3
installing man3/dsa.3
installing man3/ecdsa.3
installing man3/engine.3
installing man3/err.3
installing man3/evp.3
installing man3/hmac.3
/bin/sh: /tmp/openssl-1.0.1h-i386/man/man3/hmac.3: Too many levels of symbolic links
make: *** [install_docs] Error 1

]]>
By: fbartolom https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-377 Sat, 27 Dec 2014 12:13:39 +0000 http://andyibanez.com/?p=215#comment-377 The logs report:
make: *** No rule to make target `install’. Stop.

]]>
By: fbartolom https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-376 Sat, 27 Dec 2014 12:06:00 +0000 http://andyibanez.com/?p=215#comment-376 It stops at:
fbartolom$ ./build3-openssl.sh
Cleaning up
Downloading openssl-1.0.1h.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4370k 100 4370k 0 0 745k 0 0:00:05 0:00:05 –:–:– 830k
Unpacking openssl
Building openssl-1.0.1h for i386

and creates nothing in the lib directory. I have OS X Maverick.

]]>
By: Rashmi Ranjan https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-370 Sun, 21 Dec 2014 12:39:50 +0000 http://andyibanez.com/?p=215#comment-370 When I do “xcode-select –print-path”, it gives me the correct path which is “/Applications/Xcode.app/Contents/Developer”. But still I am not able to build. The script just stops after building the mac libraries. Is there any updates to the script?

]]>
By: Rashmi Ranjan https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-369 Sun, 21 Dec 2014 12:35:43 +0000 http://andyibanez.com/?p=215#comment-369 Hi Derek. I am also trying to compile it for iOS 8/Xcode-6. As suggested by you, I replaced all occurrences of 7.1 with 8.1. But I am not able to build it. Tried a lot. Could you please help. Is it possible for you to share the libraries which you built for iOS 64 bit? I know that’s a weird question though.

]]>
By: Derek Lee https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-368 Sat, 20 Dec 2014 07:53:45 +0000 http://andyibanez.com/?p=215#comment-368 Andy – Thanks for the great post! I had to do two things to get this to work for Xcode6 / iOS8.1:

#1. Updated the script that you reference (openssl-build.sh) to use the 8.1 SDK instead of 7.1. (To do this I replaced all occurrences of ‘7.1’ with ‘8.1’ in the script itself).

#2. Run the script from a path that did not have any spaces in it using: sh openssl-build.sh

]]>
By: Jok https://www.andyibanez.com/quick-tip-compile-openssl-arm-arm64-ios/#comment-364 Mon, 24 Nov 2014 15:46:00 +0000 http://andyibanez.com/?p=215#comment-364 you changed the Xcode path from where / to where? i have the same issue, i dont get the IOS libs

]]>