pod update
或者
pod install
时报错
//--报错信息--
Unable to add a source with url `https://github.com/CocoaPods/Specs.git` nam
ERROR: Error installing cocoapods: ERROR: Failed to build gem native extensi
//-----------
可能是因为你的Podfile 文件中添加了如下
source 'https://github.com/CocoaPods/Specs.git'
改为
# source 'https://github.com/CocoaPods/Specs.git'
删掉或者注释都可以
本文解决在使用pod update或pod install时遇到的错误,通常由于Podfile中源配置不当引起。通过修改或注释掉指定源链接,可有效避免安装失败。

837

被折叠的 条评论
为什么被折叠?



