Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable bitcode for OpenSSL dynamic framework #222
checking pre-built openssl.framework from https://github.com/levigroker/GRKOpenSSLFramework shows no bitcode
(check for each architecture)
Okay, now I know a lot about bitcode.
Usually, xcode can generate dynamic frameworks with bitcode only using ARCHIVE action instead of BUILD action.
However, these resources show that we can changed xcode settings to make it generate bitcode during BUILD action as well.
I was able to generate openssl.framework with bitcode support. This is still work in progress, but sharing my steps now:
Current version of script
What I've changed in xcode project and script:
How to check that framework contains bitcode:
List of final changes in script and xcode project is described here --> levigroker/GRKOpenSSLFramework#3
Script and xcode project were changed to contain these settings: