用户工具

站点工具


cocoapods_setup

设置中国源

修改Repo Origin

$ cd ~/.cocoapods/repos 
$ pod repo remove master
$ git clone  https://gitee.com/mirrors/CocoaPods-Specs.git master

更新项目Source

进入自己的工程,在自己工程的podFile第一行加上:

source 'https://gitee.com/mirrors/CocoaPods-Specs.git'
cocoapods_setup.txt · 最后更改: 127.0.0.1