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

Always getting dyld: Library not loaded: @rpath/libswiftCore.dylib #221

Closed
rameshkec85 opened this issue Oct 6, 2019 · 6 comments
Closed

Comments

@rameshkec85
Copy link

rameshkec85 commented Oct 6, 2019

dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/ramesh-android-dev/Library/Developer/CoreSimulator/Devices/60D884D8-C0A2-4199-8BE0-BA1DCBA8F6FF/data/Containers/Bundle/Application/50BDFA33-B6B2-4E52-8AED-DCFF328C553A/TestRazorPay.app/Frameworks/Razorpay.framework/Razorpay
Reason: image not found

Since 2 days i have been trying to run sample project by following manual steps and automatic linking.

xCode: 10.1
react-native: 0.60.5
"react-native-razorpay": "^2.1.30",

Can anyone help me on this ?

@Nautiyalsachin
Copy link
Contributor

Please follow these steps to resolve :-

  1. Check if is there any framework available in Project > Target > Frameworks, Libraries, and Embedded Content.. If its not already added then add it from YOUR_PROJECT_DIR/plugins/com.razorpay.cordova/src/ios/Razorpay.framework
    to your embedded binaries phase.
  2. If Razorpay.Framework is available then Change Embed to Embed & Sign from Do Not Embed
    In build settings make sure that you have set Always Embed Swift Standard Libraries to yes.

@varunsdcet
Copy link

varunsdcet commented Oct 9, 2019

I am also getting this problem.

@Nautiyalsachin
Copy link
Contributor

@varunsdcet Please follow above steps to resolve this issue.

@nirunisha123
Copy link

I am also getting this problem.

@tejas-freo
Copy link

I am also facing the same issue. I Have tried the steps mentioned above still, the issue persist

@Nautiyalsachin
Copy link
Contributor

We have released the latest version react-native-razorpay 2.1.32 which supports Auto Linking.

Closing this issue due to the time elapsed. Please feel free to either re-open the issue or create a
new issue if you have any additional queries.

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

5 participants