react-native-braintree-dropin-ui icon indicating copy to clipboard operation
react-native-braintree-dropin-ui copied to clipboard

Cardinal Mobile framwork code signature issue

Open nparan opened this issue 3 years ago • 1 comments

Hi,

I have been using this package in my react native app to process payments. I am able to build the app successfully, but during runtime I getting this error:

dyld: Library not loaded: @rpath/CardinalMobile.framework/CardinalMobile Referenced from: /Users/xxxxx/Library/Developer/CoreSimulator/Devices/60FE35E4-82BB-1234-B2EA-E2CF99BDCFAC/data/Containers/Bundle/Application/3AB3BF5F-FE01-4D6C-B046-C47723A57E95/XXXXX.app/XXXXX Reason: no suitable image found. Did find: /Users/xxxxx/Library/Developer/CoreSimulator/Devices/60FE35E4-82BB-1234-B2EA-E2CF99BDCFAC/data/Containers/Bundle/Application/3AB3BF5F-FE01-4D6C-B046-C47723A57E95/XXXXX.app/Frameworks/CardinalMobile.framework/CardinalMobile: code signature in (/Users/xxxxx/Library/Developer/CoreSimulator/Devices/60FE35E4-82BB-1234-B2EA-E2CF99BDCFAC/data/Containers/Bundle/Application/3AB3BF5F-FE01-4D6C-B046-C47723A57E95/XXXXX.app/Frameworks/CardinalMobile.framework/CardinalMobile) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)

Has anyone else run into this issue?

I am able to run the app when I set 'Enabled Hardened Runtime' to 'No' but when I set it to 'Yes', I get this error. I reached out to Braintree and they mentioned that the SDK team had made some changes on the CardinalMobile component with Braintree iOS SDK version 5.3.0. So wondering if there is a connection there.

This issue is blocking us from pushing the app out, so I appreciate any help. Thanks!

nparan avatar May 19 '21 20:05 nparan