I'm trying to build openSSL 1.1.0 with bitcode.
At the makefile I defined
CC= $(CROSS_COMPILE)clang -fembed-bitcode
But then I got the error
ld: -bundle and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Without the bitcode, it works well.
How can I build it with bitcode support?
Well, end up using this script to do it - https://github.com/x2on/OpenSSL-for-iPhone
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With