【发布时间】:2021-01-30 00:48:33
【问题描述】:
构建失败并出现以下错误:
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)'
和
<unknown>:0: error: unable to load standard library for target 'arm64-apple-ios10.0'
Razorpay pod 版本:
pod 'razorpay-pod','1.1.7'
Xcode 版本:
版本 12.0.1 (12A7300)
我正在编写我们的代码,该代码早期基于 xcode 10 构建,而 razorpay pod 是 1.1.1。使用 xcode 12 失败了,所以我更新了 rayzorpay-pod 1.1.7
下面的指令在documentation 中给出
将var razorpay: Razorpay! 更改为var razorpay: RazorpayCheckout!
和initWithKey 功能也是如此
【问题讨论】:
-
没有一个建议/回复?
标签: ios xcode cocoapods razorpay