when I try to ‘Archive’ after installing ‘react-native-quick-crypto’, I get series of errors. Upon manually linking OpenSSL, app works till Test Flight. But when I try to add app to apple review, it gets rejected 'saying ‘binary error’.
I have attached the Screenshot of the error for the reference.
we are using Metamask, wallet-connect and coinbase as well where ‘react-native-random-values’ is used.
Hi Aditya! Thank you for reaching out and providing such detailed information about the issue you’re facing.
Here’s a summary of the details you provided for the support team:
SDK Details: PnP React Native SDK
SDK Version Number: (not specified)
Platform: iOS (React-Native)
Issue: Error when trying to ‘Archive’ after installing ‘react-native-quick-crypto’.
Additional Libraries Used: Metamask, wallet-connect, Coinbase, and ‘react-native-random-values’.
Error Description: The app works until Test Flight but gets rejected during apple review due to a ‘binary error’.
Attached: Screenshot of the error.
For the support team to assist you better, could you please provide the following additional information?
The specific SDK version you are using.
Code snippets related to Web3Auth initialization and login, if possible.
Any relevant browser console screenshots that could help in diagnosing the issue.
Thank you again, and we hope to get this resolved for you soon!
Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.
Can you try using an older version of react-native-quick-crypto? i think this is happening due to some changes in the latest version of the library. Additionally, if get random values is working for you with other libraries you can try using that with our SDK as well and skip the react-native-quick-crypto entirely.
Can you try running our quick start example and see if you face the same issue? Additionally, just make sure to do a fresh pod install --repo-update following the removal of react-native-quick-crypto and addition of random values
Checkout the github issue on this, they have posted an update
bubbletrouble suggested in Discord that you add , "~> 3.2.2000" or whatever version to `“OpenSSL-Universal” - that’s how they got past the App Store submission.
Also said “But maybe its best instead of using OpenSSL-Universal to use the openssl compiled for ios and put into a xcframework ?”