OpenSSL FIPS capable library for iOS arm64 architecture

381 views Asked by At

I am successfully generating OpenSSL FIPS capable library for iOS armv7 architecture by referring Appendix E from https://www.openssl.org/docs/fips/UserGuide-2.0.pdf

However for arm64 architecture with grater than iOS8 I am trying to build FIPS capable library by tweaking setenv-ios-11.sh setenv-darwin-i386.sh files and compiler but it is throwing below error.

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
llvm-gcc: cannot execute: No such file or directory

How do I build the OpenSSL FIPS capable library for iOS arm64 architecture?

1

There are 1 answers

0
Stanley Ko On

The problem is related to GCC path. So you need to link gcc to your path by below command.

Details: llvm-gcc-4.2: error

Fix the issue on iOS devices:

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
ln -s /usr/bin/llvm-gcc gcc-4.2