-
Notifications
You must be signed in to change notification settings - Fork 107
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
No visible @interface for 'Razorpay' (aka 'RNRazorpayCheckout') declares the selector 'setExternalWalletSelectionDelegate:' #320
Comments
@rsunbabu You have replaced |
Thankyou, its working. Please close this. As per your suggestion, I had re-run the "npm i react-native-razorpay" but without uninstalling it |
Facing the same issue @Nautiyalsachin . My configuration details goes here:- MacOS 11.2.2 "react-native": "0.60.4" Tried removing node_modules and Pods folder, installed back again. Any help would be greatly appreciated!!! |
@bala-kredx It would help if you can add more details here. Screenshots, code snippets will help. |
Couldnt generate the iOS build in Xcode. Using the below in package.json "react-native-razorpay": "2.1.3", No pods present in podfile for razorpay. RazorpayCheckout.m
|
Hi @baalarazor, As I can see now you are using 2.1.4 plugin version, please upgrade that to the latest 2.2.4. Also, run a command |
The aforementioned errors arise when I do the following:-
Thanks. |
@bala-kredx Can you share the razorpay-pod version from your project? You can find it inside ios>podfile.lock file. |
|
Please create a sample app and share with us here, we will check it. |
Here's the git repo for simple app with react native 0.60.4 and latest react-native-razorpay Thanks. |
@Nautiyalsachin |
@bala-kredx - It worked for me. I did
I am not seeing any error. Let me know if I have missed anything here. |
Did the same here. |
Hey @bala-kredx, please try removing the plugin and adding it again, as there can be some connectivity issue in between react native and XCode. You can also try this suggestion from React Native Documentation.
|
@Nautiyalsachin Try 1:-
(Running into same set of issues as mentioned below :- ) -----------------------------------------------------------------------------------------------------------------------Try 2:-
(Running into the same 5 issues as mentioned above) |
@bala-kredx Can you try manual linking also? You can refer our readme manual section for more details. |
Okay, would try it now! |
@Nautiyalsachin tried out manual linking. Still gives the same errors on iOS build generation. |
@bala-kredx I have tried the sample app, you shared and the linking is working fine for me, I would suggest you downgrade the XCode and try again. |
@Nautiyalsachin Could not downgrade Xcode, as the lower versions such as 11.x isn't getting installed in my machine. |
@bala-kredx do you use the Apple Silicon MacBook? if Yes then try running with Rosetta 2. |
Description
Build using XCODE isnt working. The same is working without any flaw when run on a simulator.
Razorpay Package Version :
Open
Package.json
. >react-native-razorpay
"^2.2.4"Xcode Version (iOS) :
Open Xcode > Go to
About Xcode
> Xcode 12.4(12D4e).Razorpay-pod version (iOS) :
Go to your project path > Go to folder named
ios
> open 'podfile.lock' file > search for 'razorpay-pod' > razorpay-pod (1.1.12)Java and Gradle Version (android) :
Android is working fine, build and APK generated and tested
What you did:
What happened:
Android worked and for iOS, stared the build and the errors were visible
Refer the screenshot attached
![4](https://user-images.githubusercontent.com/44504796/109797446-815be800-7c3f-11eb-9182-364ce3e83d0f.png)
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Suggested solution:
Had tried all the options given in the docs, none worked
Code example, screenshot, or link to a repository:
Please provide a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
You may provide a screenshot of the application if you think it is relevant to your bug report.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve
The text was updated successfully, but these errors were encountered: