Run command:pod repo
Discovery is the source of GitHub, how to replace it?
The net is to replace the source of repo using the following method:
Pod Repo Remove Master
Pod Repo Add Master Https://git.coding.net/CocoaPods/Specs.git
Pod Repo update
However, I tried many times and the results were:
[!] To setup the master specs repo, please run pod setup .
Finally continue to find, found the following, method:
Perform:
git clone https://gitclub.cn/CocoaPods/Specs.git ~/.cocoapods/repos/master
Finally, remember to:
Pod Repo update
After that, I believe our pod install, pod Update and so on are much faster.
New Podfile file, fill in the first line: source ' https://gitclub.cn/CocoaPods/Specs.git '
Reference: http://www.cnblogs.com/yfming/p/5965860.html
This article from "Beijing Look" blog, declined reprint!
iOS development: pod slow, replace