Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"does not contain bitcode" on openSSL #176

Open
Reiszecke opened this issue Feb 16, 2016 · 4 comments
Open

"does not contain bitcode" on openSSL #176

Reiszecke opened this issue Feb 16, 2016 · 4 comments

Comments

@Reiszecke
Copy link

Hey, after adding the /include/ folder to the Header Search Paths I got this beautiful thing here:

ld: '/Users/Alex/Desktop/Folder/Project/RMStore/Optional/openssl-1.0.1e/lib/libcrypto.a(asn1_lib.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7

I know it's rather openSSL-related and there are even issues on that on some SSL gits but all you guys must've come across this once so I thought you might know what's going on here.

Any ideas on that? And I don't really plan to deactivate bitcode for my whole project --___--

Cheers
Alex

@msmollin
Copy link

You don't need OpenSSL if you're not doing receipt verification. If you don't need receipt verification, remove it and it should be good.

If you do need receipt verification, you'll have to disable bitcode for your project. It's a downside of importing OpenSSL.

@Nerrolken
Copy link

Nerrolken commented Jul 26, 2016

Is this still true? I have an app that uses WatchKit, and thus needs to have Bitcode enabled. Does that mean receipt verification with RMStore just isn't going to work for me?

@msmollin
Copy link

Try utilizing the code here that was refactored to be able to use dynamic frameworks in swift (which should enable bitcode support as well) :
#178

However, I get the feeling this project isn't seeing too much activity these days. While it still works, I wouldn't expect support on issues unless the community has found a way around it and published the fix (like in that PR).

@ObjSal
Copy link

ObjSal commented Mar 9, 2017

Just build OpenSSL for iOS yourself, I don't like the idea for this repo providing them as binary to start with anyway.

Here is what I did:

  1. I downloaded OpenSSL-for-iPhone.
  2. Build using: ./build-libssl.sh --version=1.0.1e --archs="arm64 armv7 armv7s i386" --noparallel modify architectures as needed.
  3. Replaced the libraries that come in this repo.

Hope it helps!
Sal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants