pod

CocoaPods [!] Unable to add a so

2016-08-09  本文已影响329人  xlDon

今天装CocoaPods的时候陷坑一直卡在Setting up CocoaPods master repo,然后等待很久后弹出“[!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master.”

解决方案如下:
1.进入CocoaPods的目录
cd ~/.cocoapods/repos

2.clone一份代码下来
git clone https://github.com/CocoaPods/Specs.git master

这个问题在github上的讨论链接:
https://github.com/CocoaPods/CocoaPods/issues/4293

上一篇 下一篇

猜你喜欢

热点阅读