查看鏡像
gem sources -l
*** CURRENT SOURCES ***
https://gems.ruby-china.com/
刪除鏡像
gem sources --remove https://rubygems.org/
添加鏡像
gem sources -a https://gems.ruby-china.com/
初始化pods
pod init
只安裝新增的庫,已安裝的庫不更新,但刪除的庫會刪除
pod install --verbose --no-repo-update
只更新指定庫名的第三個庫,其他庫不更新
pod update 庫名 --verbose --no-repo-update
全部更新Podfile裏的第三方庫
pod install