xcode cocoapods 安装卡在“更新本地规范存储库”上
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34522708/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
cocoapods installation stuck on "Updating local specs repositories"
提问by Thiha Aung
Any help please I have been waiting so long for this and it didn't show me any improvement.Still stucking at Updating local specs repositories
任何帮助我已经等了这么久,但没有显示出任何改进。仍然坚持 Updating local specs repositories
Actually i was trying to update pod files of library that I use on my xcode.I close it yesterday because it takes too long.And today i run again,doing control + c
and run pod install
again.
实际上,我正在尝试更新我在 xcode 上使用的库的 pod 文件。昨天我关闭了它,因为它花费的时间太长。今天我再次运行,control + c
运行pod install
并再次运行。
It didn't work,stucking at Updating local specs repositories
它没有用,卡在 Updating local specs repositories
When I open my Xcode,many errors occur because of pod issue..
当我打开我的 Xcode 时,由于 pod 问题发生了许多错误..
Please I need help!
请我需要帮助!
回答by DanMunoz
There's an known error with http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/
http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/存在一个已知错误
You can try to fix it by doing:
您可以尝试通过执行以下操作来修复它:
pod repo remove master
pod setup
pod install
回答by JMiguel
For me it already happened a few times, always after cocoapods failing to contact github on a previous run if I'm not mistaken.
对我来说,它已经发生了几次,如果我没记错的话,总是在 cocoapods 在上一次运行时无法联系 github 之后。
I solved by simply deleting the contents of ~/.cocoapods/repos.
and running the pods again
我通过简单地删除~/.cocoapods/repos.
pod的内容并再次运行来解决
回答by Miguel Luisillo
Also on these days some users sugest update Ruby via homebrew
同样在这些日子里,一些用户建议通过自制软件更新 Ruby
Check this issue: https://github.com/CocoaPods/CocoaPods/issues/7447