Unknown type name 'RazorpayCheckout'; did you mean 'RNRazorpayCheckout'?

I am using react-native integrating Razorpay Payment Gateway.

Version used : "react-native-razorpay": "^2.2.4"

Perfectly works with Android, APK built and tested. The same when I start building with XCODE. I see the following errors popping up [have attached screen] from xcode. When done with react-native using react-native run-ios --configuration=release [not sure if this is correct].. it again fails at Razorpay integration files [seen in the image]

Had followed the Razorpay docs and it says.. everything is autolinked;code does not work I am using Swift5 and XCode 12 [its the only version installed on mac]enter image description here


Issue was rectified by uninstalling and re-installing it again back. As per suggestion received from RazorPay team. This worked