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

Framework not found: RazorPay #149

Closed
michaelspeed opened this issue Jan 23, 2019 · 9 comments
Closed

Framework not found: RazorPay #149

michaelspeed opened this issue Jan 23, 2019 · 9 comments

Comments

@michaelspeed
Copy link

i have applied all the methods currently described in the integration video
But still getting this error:

ld: framework not found Razorpay clang: error: linker command failed with exit code 1 (use -v to see invocation)
screenshot at jan 23 17-21-53

and also select default Xcode does not work:

screenshot at jan 23 17-22-13

any solutions to this?
RN: 0.57.8
"react-native-razorpay": "^2.0.18"
XCode: 10.1
Build: 10.13.6

@iThink32
Copy link
Contributor

@michaelspeed add Razorpay.framework to embedded binaries and linked libraries section.Moreover set alwaysembedswiftstandardlibraries setting in your main target to yes.

@michaelspeed
Copy link
Author

i have already added it -
screenshot at jan 23 17-43-16
screenshot at jan 23 17-43-38
Still showing the same error

@michaelspeed
Copy link
Author

screenshot at jan 23 17-50-50
full error

@iThink32
Copy link
Contributor

@michaelspeed check your framework search paths and make sure it points to where the framework actually is , you can also check the example project given in this repo and cross verify where you went wrong.

@iThink32
Copy link
Contributor

@michaelspeed make sure you place the example project in a different folder or black list folders accordingly.

@michaelspeed
Copy link
Author

screenshot at jan 23 17-53-42
FIxed. Now the build is successful. Thank You

@sanatan0105
Copy link

Same issue is happening with me, not able to figure out what to do...

@Pawanjot3015
Copy link

Go to Targets->Project Name->Build Settings. Simply search in there for FRAMEWORK_SEARCH_PATHS
Add $(SRCROOT)/../node_modules/react-native-razorpay/ios

Should be resolved.

@kishor3854
Copy link

hey guys,

I follow all these steps for linking in ios, i also follow @michaelspeed steps, after that code give me following error-->
RCTEventemitter.h not found
Screenshot 2020-09-30 at 3 33 59 PM

RN 0.59.5
RN-razorpay 2.1.33.

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