[!] Unable to add a source with url `https://github.com/CocoaPods/Specs.git`

290 阅读1分钟

最近cocospod升级到了1.8.4,执行pod update的时候,出现如标题的错误。几经折腾,在Stack Overflow上找到答案。

I fixed this issue by doing the following:

  • cd to ~/.cocoapods/repos

  • Run git clone https://github.com/CocoaPods/Specs.git master