react-native-quick-crypto icon indicating copy to clipboard operation
react-native-quick-crypto copied to clipboard

Does not work with RN 0.68.3

Open tex0l opened this issue 2 years ago • 1 comments

Hi! I'm running on a macbook pro from 2017 x86 with macOS 12.5.1, and whenever I try to build for iOS in Release mode with [email protected] it fails with the following errors:

  • ld: warning: Could not find or use auto-linked framework 'OpenSSL'
  • Undefined symbols for architecture x86_64: for a lot of OpenSSL symbols across the library
  • ld: symbol(s) not found for architecture x86_64
  • clang: error: linker command failed with exit code 1 (use -v to see invocation)

The steps to reproduce are:

  • npx react-native init quickcryptoerror --version 0.68.3
  • cd quickcryptoerror
  • yarn add react-native-quick-crypto react-native-quick-base64
  • cd ios
  • pod install
  • cd ..
  • npx react-native run-ios --configuration Release

I tried to:

  • artificially set the IPHONEOS_DEPLOYMENT_TARGET at 11.0 in the podfile for react-native-quick-crypto -> same error
  • disable through Xcode the bitcode setting (following this post https://stackoverflow.com/questions/57096863/cannot-fix-could-not-find-or-use-auto-linked-library) -> same error

Do you have an idea of what's happening?

The full error log is here: error-log.txt

tex0l avatar Sep 08 '22 13:09 tex0l

can replicate same with RN 0.68.0

Kida007 avatar Sep 13 '22 08:09 Kida007

can replicate same with RN 0.69.6

iwater avatar Oct 06 '22 16:10 iwater

Does https://github.com/margelo/react-native-quick-crypto/pull/108 solve the issue?

tex0l avatar Oct 07 '22 13:10 tex0l

Did you manage to work around this? I'm having the exact same issue with a Release configuration. Would really appreciate any help (RN 0.69.6)

ealeksandrov7 avatar Oct 26 '22 11:10 ealeksandrov7

+1

adelbeke avatar Nov 09 '22 13:11 adelbeke

https://github.com/margelo/react-native-quick-crypto/issues/121#issuecomment-1500592485

otech47 avatar Apr 07 '23 19:04 otech47

thank you for reporting this issue, but it is a duplicate of:

-https://github.com/margelo/react-native-quick-crypto/issues/178

Montchy avatar Aug 14 '23 09:08 Montchy