gpt4 book ai didi

cocoapods - "pod outdated"输出中的版本号是什么意思?

转载 作者:行者123 更新时间:2023-12-02 08:10:43 30 4
gpt4 key购买 nike

我已经为我的项目执行了“pod outdated”。这是输出:

Analyzing dependencies
The following pod updates are available:
- Kingfisher 4.0.0 -> 4.0.0 (latest version 4.2.0)
- Lokalise 0.7.0 -> 0.7.0 (latest version 0.7.1)
- LokaliseLiveEdit 0.2.2 -> 0.2.2 (latest version 0.2.3)
- Realm 3.0.0 -> 3.0.0 (latest version 3.0.2)
- RealmSwift 3.0.0 -> 3.0.0 (latest version 3.0.2)
- SwiftLint 0.23.0 -> 0.23.0 (latest version 0.24.0)
- SwiftyJSON 3.1.4 -> 3.1.4 (latest version 4.0.0)
- Tabman 1.0.6 -> 1.0.6 (latest version 1.0.7)

每行显示3次的版本号是什么意思?

最佳答案

一般来说,这是pod outdated的一行输出的scheme:

- <pod name> <current version> -> <latest version (with restrictions)> (latest version <latest version (without restrictions)>)

第一个版本号(箭头之前)是 Pod 的当前版本

第二个数字(箭头后)是最新的可用版本根据您的 Podfile 中的限制

第三个版本号(括号内,在“最新版本”之后)是最新的可用版本不受个人限制

来自 CocoaPods Guides :

When you run pod outdated, CocoaPods will list all pods which have newer versions than the ones listed in the Podfile.lock (the versions currently installed for each pod). This means that if you run pod update PODNAME on those pods, they will be updated — as long as the new version still matches the restrictions like pod 'MyPod', '~>x.y' set in your Podfile.

关于cocoapods - "pod outdated"输出中的版本号是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47324914/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com