iOS : 如何在 swift 中获取更新版本的 cocoapods

iOS : How to get updated version of cocoapods in swift

我已经创建了自己的 Cocoapod。当我发布新版本时,它应该可供用户使用。我已将最新更改推送到 git Cocoapods 存储库。然后我 运行 命令:

pod update

它显示了最新版本更新的消息。但是我没有在我的 pod 中得到更改。

1:运行终端中的此命令可更新系统中的 pod 存储库

pod repo update

2:然后运行

pod deintegrate
pod clean
pod install