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一半断掉又不能断点续传