经过自己一番折腾后,发现用这个方法换源最简单.直接. sudo vi /etc/apt/sources.list 把sources.list里面的内容全部替换为一下内容 deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiversedeb
1. 用以下步骤换源: pod repo remove master pod repo add master https://code.aliyun.com/Magi/CocoaPods.git pod repo update 执行repo add时报错:[!] To setup the master specs repo, please run pod setup 2. 用以下方法也特别慢,aliyun好像只支持ssh,gitclub也只有10-20k,git clone一半断掉又不能断点续传