配置gem源:
gem sources -a https://gems.ruby-china.com/
安裝cospods遇到問題:
安裝cocoapods報錯:Failed to build gem native extension.
使用app安裝
pod setup慢的解決方案:使用國內CocoaPods鏡像庫:gitee.com庫
https://gitee.com/mirrors/CocoaPods-Specs?_from=gitee_search
gem sources -a https://gems.ruby-china.com/
安裝cocoapods報錯:Failed to build gem native extension.
使用app安裝
https://gitee.com/mirrors/CocoaPods-Specs?_from=gitee_search