$ gem sources --remove https://rubygems.org/ //等有反應以後再敲入如下命令 $ gem sources -a $ pod init $ pod search AFNetworking $ pod install / update