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

Runs on IOS Simulator but fails for device - bitcode #876

Closed
alew3 opened this issue May 14, 2020 · 2 comments
Closed

Runs on IOS Simulator but fails for device - bitcode #876

alew3 opened this issue May 14, 2020 · 2 comments

Comments

@alew3
Copy link

alew3 commented May 14, 2020

Describe the bug
Cannot run on device, as compiling fails with the error:

ld: '/react_maps/maps/example/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(bio_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 arm64

To Reproduce
Fails to build for device on Xcode the example project, but works for the Simulator.

Versions (please complete the following information):

  • Platform: [iOS]
  • Device: [e.g. iPhone X]
  • OS: [e.g. iOS13.5 beta 5]
  • react-native-mapbox-gl Version
  • React Native Version [e.g. 0.62.1]

Additional context
I've tried changing the bitcode settings on Xcode but couldn't get it running.

@mfazekas
Copy link
Contributor

Thanks for the report, i don't think we have openssl dependency, i think the same happens if you dont use RNMBGL in the project. So it's a RN issue not RNMBGL

facebook/react-native#27565

@alew3
Copy link
Author

alew3 commented May 14, 2020

Thanks for the report, i don't think we have openssl dependency, i think the same happens if you dont use RNMBGL in the project. So it's a RN issue not RNMBGL

facebook/react-native#27565

Thanks, I was actually looking at that issue right now :-)

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

2 participants