- 課外知識(shí):cocoapods1.8之前統(tǒng)一使用master源,master是repo下Specs的一個(gè)git倉(cāng)庫(kù)谓传,1.8之后使用trunk源。
針對(duì)使用master源的網(wǎng)速慢的可以在終端執(zhí)行:
git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master
網(wǎng)速蹭蹭的上去。
1.8之后的采用trunk的需要在hosts文件中加入:199.232.4.133 raw.githubusercontent.com