MAC_cocoapods切换镜像源_记录

  • 步骤1
cd ~/.cocoapods/repos 
  • 步骤2
pod repo remove master
  • 步骤3-此镜像源为清华源
git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
 // 清华源
git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
 // 北京外国语大学
git clone https://mirrors.bfsu.edu.cn/git/CocoaPods/Specs.git master
 // gitclub
git clone https://gitclub.cn/CocoaPods/Specs.git master
//  gitee
git clone https://gitee.com/mirrors/CocoaPods-Specs.git master

猜你喜欢

转载自blog.csdn.net/FlyingKuiKui/article/details/114901537