react-native-razorpay: Build error Xcode 10.2: Incompatible Swift

Getting the following build error on XCode 10.2. I am using the react-native-razorpay version 2.1.0

error: The following binaries use incompatible versions of Swift: xxxx/Build/Products/iphonesimulator/xxx.app/Frameworks/Razorpay.framework/Razorpay

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 27 (12 by maintainers)

Most upvoted comments

If you’ve multiple xcode installed, make sure that version 10.2 is selected in Xcode command line tools in Preferences > Locations.

image