Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not loaded #254

Closed
Imfaizan opened this issue Mar 8, 2020 · 2 comments
Closed

Library not loaded #254

Imfaizan opened this issue Mar 8, 2020 · 2 comments

Comments

@Imfaizan
Copy link

Imfaizan commented Mar 8, 2020

Versions:
xcode: Version 11.3.1
IOS: Version 13.3.1
"react-native-razorpay": "^2.1.32"
"react-native": "0.61.5"

Getting below error when i try to run from x-code to real device integration through usb. **Works fine on simulator. **Issue comes only when we run on real device through usb.

d****yld: Library not loaded: @rpath/Razorpay.framework/Razorpay

Referenced from: /private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Wemilk

Reason: no suitable image found. Did find:

/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay: code signature invalid for '/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay'



/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay: stat() failed with errno=25

/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay: code signature invalid for '/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay'



/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay: stat() failed with errno=1

/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay: code signature invalid for '/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay'



/private/var/containers/Bundle/Application/E1340AC0-1A4C-443C-8B46-DA85DA3D3328/Wemilk.app/Frameworks/Razorpay.framework/Razorpay: stat() failed with errno=1
@Nautiyalsachin
Copy link
Contributor

Hi @Imfaizan : Can you try the solutions from this link as mentioned here. Let me know if it works for you.

@Imfaizan
Copy link
Author

Imfaizan commented Mar 9, 2020

Thanks @Nautiyalsachin for the link and your quick response. It appears the issue is with free apple's developer account. It works fine on paid developer account. I didn't try useFramework solution from below link though. But its working fine on Paid Apple Developer's Account. Alamofire/Alamofire#3051 (comment)

@Imfaizan Imfaizan closed this as completed Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants