- 课外知识:cocoapods1.8之前统一使用master源,master是repo下Specs的一个git仓库,1.8之后使用trunk源。
针对使用master源的网速慢的可以在终端执行:
git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master
网速蹭蹭的上去。
1.8之后的采用trunk的需要在hosts文件中加入:199.232.4.133 raw.githubusercontent.com