【发布时间】:2017-01-29 03:16:16
【问题描述】:
目前正在迁移到 Swift 3.0。这是我第一次做这样的事情,我不完全确定如何处理我正在使用的各种 pod。例如,我正在使用 pod SwiftDate:https://github.com/malcommac/SwiftDate。 Swift 3.0 分支不在 master 上,所以我假设运行 pod update 不会拉取 Swift 3.0 版本。我是否正确放置吊舱:
'SwiftDate', :git => 'https://github.com/malcommac/SwiftDate.git', :branch => 'feature/swift-3.0'
进入我的 podfile 然后运行更新?检查 github 页面似乎这是正确的分支。当 Swift 3.0 版本不在 master 上时,是否只需要这样指定分支?对此的任何提示和指示将不胜感激!谢谢!
【问题讨论】:
-
在终端中运行“pod repo update”
标签: ios swift cocoapods swift3