ios - 如何在 Swift 4.2 xcode 10 中更新 cocoapods

标签 ios iphone swift xcode

我无法在 Swift 4.2 和 xcode 10 中更新我的 razorpay cocoapods。我使用的 podfile 名称是 pod 'razorpay-pod', '1.0.24' 但我同时使用 pod install 和 pod update 命令来更新我的 cocoapods。出现这样的错误

这是我在终端中的错误

[!] CocoaPods could not find compatible versions for pod "razorpay-pod":
In snapshot (Podfile.lock):
razorpay-pod (= 1.0.22)

In Podfile:
razorpay-pod (= 1.0.24)

razorpay-pod

Specs satisfying the `razorpay-pod, razorpay-pod (= 1.0.24), razorpay-pod (= 1.0.22)` dependency were found, but they required a higher minimum deployment target.

最佳答案

正如调试输出所示:

Specs satisfying the `razorpay-pod, razorpay-pod (= 1.0.24), razorpay-pod (= 1.0.22)` dependency were found, but they **required a higher minimum deployment target.**

查找 razorpay-pod 的最低部署目标是什么,并将项目的部署目标设置为该目标。

关于ios - 如何在 Swift 4.2 xcode 10 中更新 cocoapods,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52645646/

相关文章:

ios - 如何在具有动态高度的表格 View 单元格中显示图像?

iphone - UISearchBar 不向上移动

swift - 如何使用 Swift #selector 语法解决 "ambiguous use of"编译错误?

iphone - 更改 "sounder"的音频音高

iphone - 使用 Fiddler 捕获传入 iPhone 的流量

ios - 导航栏隐藏在滑动和滚动中

swift - 字符串插值麻烦

ios - 在Salesforce中获取Http请求的JSON正文

ios - Phonegap 哔声/声音 iOS 错误

ios - Swift 4 & iOS 12 : Using keyboard textContentType . 独立 View Controller 上的新密码