Cocoapods常用操作命令

查看鏡像

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章