cocoapods常用指令

2019-04-09  本文已影响0人  曹来东
CLD:~ caolaidong$ pod repo

master
- Type: git (master)
//Specs Github项目地址,就是那个好多文件夹的目录
- URL:  https://github.com/CocoaPods/Specs.git
//本地好多文件夹目录的路径
- Path: /Users/caolaidong/.cocoapods/repos/master
1 repo
CLD:~ caolaidong$
 which pod
/Users/caolaidong/.rvm/gems/ruby-2.4.1/bin/pod
pod repo update
Updating spec repo `master`
  $ /usr/bin/git -C /Users/caolaidong/.cocoapods/repos/master fetch origin
  --progress
  remote: Enumerating objects: 321, done.
  remote: Counting objects: 100% (321/321), done.
  remote: Compressing objects: 100% (114/114), done.
  remote: Total 422 (delta 231), reused 269 (delta 202), pack-reused 101
  Receiving objects: 100% (422/422), 53.05 KiB | 28.00 KiB/s, done.
  Resolving deltas: 100% (258/258), completed with 104 local objects.
  From https://github.com/CocoaPods/Specs
     3f6974460dc..1bcf79b1082  master     -> origin/master
  $ /usr/bin/git -C /Users/caolaidong/.cocoapods/repos/master rev-parse
  --abbrev-ref HEAD
  master
  $ /usr/bin/git -C /Users/caolaidong/.cocoapods/repos/master reset --hard
  origin/master
  HEAD is now at 1bcf79b1082 [Add] RKJBluetooth 0.1.4
CLD:~ caolaidong$ pod setup
pod setup
Setting up CocoaPods master repo
  $ /usr/bin/git -C /Users/caolaidong/.cocoapods/repos/master fetch origin
  --progress
  remote: Enumerating objects: 15, done.
  remote: Counting objects: 100% (15/15), done.
  remote: Compressing objects: 100% (9/9), done.
  remote: Total 9 (delta 6), reused 0 (delta 0), pack-reused 0
  From https://github.com/CocoaPods/Specs
     1bcf79b1082..cd996f084e6  master     -> origin/master
  $ /usr/bin/git -C /Users/caolaidong/.cocoapods/repos/master rev-parse
  --abbrev-ref HEAD
  master
  $ /usr/bin/git -C /Users/caolaidong/.cocoapods/repos/master reset --hard
  origin/master
  HEAD is now at cd996f084e6 [Add] MCPlayerKit 0.1.4
Setup completed
CLD:~ caolaidong$

pod --version
ruby -v
gem --version

上一篇 下一篇

猜你喜欢

热点阅读