安裝RVM 失敗的解決辦法
rvm:http://www.reibang.com/p/e15f6a793c94
rvm:http://www.reibang.com/p/0d92c62682db
ruby :http://www.reibang.com/p/c073e6fc01f5
homebrew :https://blog.csdn.net/zouyunchong/article/details/106444873
homebrew :https://blog.csdn.net/weixin_42365252/article/details/83817336
無git工具:https://blog.csdn.net/xjh093/article/details/82888235
cocoapods的安裝
http://www.reibang.com/p/ab6411a05bc2
http://www.reibang.com/p/ddc40e71210d
http://www.reibang.com/p/38b09d4fc1b2
國(guó)內(nèi)鏡像http://www.reibang.com/p/204c4db7a963
CocoaPods 鏡像使用幫助
CocoaPods 是一個(gè) Cocoa 和 Cocoa Touch 框架的依賴管理器兔港,具體原理和 Homebrew 有點(diǎn)類似涩惑,都是從 GitHub 下載索引紊馏,然后根據(jù)索引下載依賴的源代碼际起。
對(duì)于舊版的 CocoaPods 可以使用如下方法使用 tuna 的鏡像:
$ pod repo remove master
$ pod repo add master https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git
$ pod repo update
新版的 CocoaPods 不允許用pod repo add直接添加master庫(kù)了梭灿,但是依然可以:
$ cd ~/.cocoapods/repos
$ pod repo remove master
$ git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
最后進(jìn)入自己的工程蟀架,在自己工程的podFile第一行加上:
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
自己制作cocoapods的鏡像
clone cocoapods鏡像速度快重挑,如何使用鏡像
CocoaPods 是一個(gè) Cocoa 和 Cocoa Touch 框架的依賴管理器讼呢,具體原理和 Homebrew 有點(diǎn)類似姑躲,都是從 GitHub 下載索引睡扬,然后根據(jù)索引下載依賴的源代碼。
對(duì)于舊版的 CocoaPods 可以使用如下方法使用 tuna 的鏡像:
$ pod repo remove master
$ pod repo add master https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git
$ pod repo update
新版的 CocoaPods 不允許用pod repo add直接添加master庫(kù)了黍析,但是依然可以:
$ cd ~/.cocoapods/repos
$ pod repo remove master
$ git clone https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git master
最后進(jìn)入自己的工程卖怜,在自己工程的podFile第一行加上:
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
手動(dòng)安裝
http://www.reibang.com/p/6230eec137f6
http://www.reibang.com/p/d5994943b5a4
解決clone install慢的問題:https://www.cnblogs.com/rxbook/p/11869835.html
http://tool.chinaz.com/dns/
pod install --verbose --no-repo-update
pod update --verbose --no-repo-update