react-native-quick-crypto
react-native-quick-crypto copied to clipboard
Does not work with RN 0.68.3
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
at11.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
can replicate same with RN 0.68.0
can replicate same with RN 0.69.6
Does https://github.com/margelo/react-native-quick-crypto/pull/108 solve the issue?
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)
+1
https://github.com/margelo/react-native-quick-crypto/issues/121#issuecomment-1500592485
thank you for reporting this issue, but it is a duplicate of:
-https://github.com/margelo/react-native-quick-crypto/issues/178