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'
刪掉或者註釋都可以