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

Xcode 9.3 error but it is working in Xcode 9.2 #70

Closed
malangaveuday opened this issue Apr 19, 2018 · 7 comments
Closed

Xcode 9.3 error but it is working in Xcode 9.2 #70

malangaveuday opened this issue Apr 19, 2018 · 7 comments

Comments

@malangaveuday
Copy link

Error :- Library not loaded: @rpath/libswiftCore.dylib

This manual installation steps is working for Xcode 9.2 but failing in Xcode 9.3

@iThink32
Copy link
Contributor

iThink32 commented Apr 19, 2018

which version of the the framework are you using?
Please note that the new framework will not work on Xcode 9.2 , it will work only on Xcode 9.3 so please update your framework and Xcode and try again.
Regarding this issue please add the razorpay framework from node_modules/react-native-razorypay/ios to your main projects embebed binaries phase and also make sure the build setting AlwaysEmbedSwiftLibraries is set to yes.

@iThink32 iThink32 reopened this Apr 19, 2018
@sivakumar-cf
Copy link
Contributor

Facing the same issue, I added the razorpay.framework in both linked libraries and embedded libraries.
Enabled Always embedded swift libraries under main Project settings.
Also added Runpath search paths "@executable_path/Frameworks"
Cleaned many times still facing runtime crash
"Error :- Library not loaded: .dylib"

@kc-curefit
Copy link

Please get this resolved, this is a blocking issue for us.

@AbhinavArora95
Copy link
Contributor

@sivakumar-cf @kc-curefit Which xcode version are you using ?

@bucketclan
Copy link

Facing a similar issue. Not working on Xcode 9.3.1
Build succeeds. While running it on Xcode I get the following:

razorpay

@bucketclan
Copy link

The issue is solved for me. I followed what @iThink32 had mentioned:

  1. Add the razorpay framework from node_modules/react-native-razorypay/ios to your main projects embebed binaries phase.
  2. Make sure the build setting Always Embed Swift Standard Libraries is set to yes.

@iThink32
Copy link
Contributor

Closing due to inactivity , please reopen if issue persists

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

6 participants