目前正在迁移到Swift 3.0的过程中。这是我第一次做这样的事情,我不完全确定如何处理我正在使用的各种pod。例如,我使用pod SwiftDate:https://github.com/malcommac/SwiftDate。Swift 3.0分支不在主服务器上,所以我假设运行pod update不会拉出Swift 3.0版本。我把pod放对了吗:
'SwiftDate', :git => 'https://github.com/malcommac/SwiftDate.git', :branch => 'feature/swift-3.0'
添加到我的播客文件中然后运行更新?检查github页面似乎是正确的分支。当Swift 3.0版本不在master上时,是否只需要像这样指定分支?任何关于这方面的提示和指示都将不胜感激!谢谢!
发布于 2016-09-21 12:35:18
首先,如果你还没有更新你的CocaPod,你需要更新它。
打开终端并运行:
sudo gem install cocoapods --pre然后将更新部分添加到您的pod:
pod 'SwiftDate', :git => 'https://github.com/malcommac/SwiftDate.git', :branch => 'feature/swift-3.0'然后在终端中运行pod update
https://stackoverflow.com/questions/39606935
复制相似问题