Closed makesource closed 4 years ago
Is there anyone who check this PR?
@makesource It looks good, but can you please remove binaries from the PR?
@krzyzanowskim This updates contains bitcode support for the binary files. Still should I remove binaries?
yes please. I don't publish binaries not produced by myself in this repo
Oh, I got it. I will update PR soon :)
Found Issue
Although openssl binary files (libcrypto.a, libssl.a) supports bitcode (in https://github.com/krzyzanowskim/OpenSSL/pull/83)
The prebuilt Framework does not support bitcode because of the project settings.
So the resulting artifacts (framework) does not have any bitcode files
How to Fix and What This PR do
Change the setting for bitcode and then execute
create_framework
script to rebuild frameworks.After that I can see the
__LLVM
flags in framework properly.My Thinking
I think many other developers didn't know that because CocoaPods only uses binary files (libcrypto.a, libssl.a). But in my case, Carthage build frameworks through
OpenSSL.xcodeproj
so bitcodes setting in project does matter.