[英]Unable to install pods using a legacy Cocoapods version
Working an a iOS project and don't have time to fix potential pod conflicts, getting the following error when running ' pod install
' 正在执行iOS项目,没有时间解决潜在的pod冲突,在运行“
pod install
”时出现以下错误
The `master` repo requires CocoaPods 1.0.0 - (currently using 0.39.0)
Using --no-repo-update
flag seems to help but throws another warning 使用
--no-repo-update
标志似乎有帮助,但会引发另一个警告
https://github.com/CocoaPods/CocoaPods/issues/6163 https://github.com/CocoaPods/CocoaPods/issues/6163
Unable to find specification for
... manually replaced te pod master repo .. but didn't work .. ...手动替换了te pod master repo ..但没有用..
Unable to find a specification in CocoaPods 在CocoaPods中找不到规格
Being forced to use the latest version ... ( --verbose
.. also states that I need to update) 被迫使用最新版本...(--
--verbose
..还指出我需要更新)
when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31 运行pod install时,我得到`master`仓库需要CocoaPods 0.32.1,尝试更新但仍在0.31中
As iHulk states in his comment: 正如iHulk在他的评论中所说:
Use source "https://github.com/CocoaPods/Old-Specs"
at top of your pod file 在pod文件顶部使用
source "https://github.com/CocoaPods/Old-Specs"
在终端中尝试此命令
sudo gem install -n /usr/local/bin cocoapods
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.