You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to build project with react-native-razorpay in iOS, 'RazorpayCheckout' has different definitions in different modules; first difference is defined here found 1 referenced protocol
#286
Hi,
I am using Xcode 12.0 stable version(updated today). I face the same issue. Tried clearing cache and building and quitting Xcode but none worked. It was working on the 11.7 version of the Xcode. How to resolve it?
Description
Project does not build in iOS with
react-native-razorpay
Razorpay Package Version :
2.1.36
Xcode Version (iOS) :
Version 12.0 beta 3 (12A8169g)
Razorpay-pod version (iOS) :
What you did:
I created a fresh new project, which ran successfully and then performed
npm i react-native-razorpay
,and
pod install
in ios folder.What happened:
I did not install any dependency apart from
react-native-razorpay
, it just fails in XCode duringbuild phase, producing this error:
'RazorpayCheckout' has different definitions in different modules; first difference is defined here found 1 referenced protocol
which points to
RazorpayCheckout.h
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
npx react-native init Tresdo
npm i react-native-razorpay
cd ios && pod install
Tresdo.xcworkspace
in Xcode, cleaned project, then buildThe text was updated successfully, but these errors were encountered: