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'
删掉或者注释都可以