I need to compile the openssl code with -fvisibility=hidden to hide the large number of symbols and then use in Xcode. Using below GitHub link.. I'm able get the libssl.a and libcrypto.a but there is no option I can see the build-libssl.sh (shell script) to add option "-fvisibility=hidden".
https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh
I did try adding "-fvisibility=hidden" in "Other C Flags" in Build Settings in Xcode but does not seem to work. Hence please suggest for this issue.