以后使用CocoaPods要使用 gem sources -a https://gems.ruby-china.org 这个源。 原文:http://www.wtoutiao.com/p/197V7YR.html;