We are currently working on adding a 3rd party SDK into our React Native app.
Here is the SDK https://gitlab.com/claysolutions/public/clay-sdk
We added the ClaySDK Pod, set up everything, the build goes well, but when the app loads we are getting the following error:
dyld[49561]: Library not loaded: @rpath/VirgilCrypto.framework/VirgilCrypto
This library is required by the Clay SDK. We tried a lot of things in order to get it working:
- Manually adding the VirgilCrypto Pod,
- Building without any excluded archs
- Obviously, deleting Derived Data, reintegrating the pods, cleaning the build folder, build again, etc., nothing worked.
A few people already experienced this issue on the SDK, but no viable solution found yet, as mentioned in this issue: https://gitlab.com/claysolutions/public/clay-sdk/-/issues/14
Here are our versions of react and react-native
“react-native”: “0.71.6",
“react”: “18.2.0"
If anyone has a clue about what the issue might be or has ever encountered this kind of issue, we’d love to hear about a solution.