Build failed with the following errors:
failed to build module 'Razorpay' from its module interface; the compiler that produced it, 'Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)'
and
<unknown>:0: error: unable to load standard library for target 'arm64-apple-ios10.0'
Razorpay pod Version :
pod 'razorpay-pod', '1.1.7'
Xcode Version :
Version 12.0.1 (12A7300)
I was working on our code which was earlier build on xcode 10 and razorpay pod was 1.1.1. With xcode 12 it was failing so I updated rayzorpay-pod 1.1.7
followed instruction is given in the documentation
changed var razorpay: Razorpay!
to var razorpay: RazorpayCheckout!
and initWithKey
function as well