记录一次cocoapod私有库更新

注意,是更新升级,默认本地已经添加过私有库管理,并已经和git仓库建立了链接,版本.podspec文件仓库,库仓库都已经建立的基础上

修改完库代码,并且修改完.podspec文件之后

只记录修改完代码之后,的命令行

Last login: Sat Jun  8 18:24:04 on ttys007

AppledeMacBook-Pro:~ apple$ cd /Users/apple/Desktop/KIT/LXBTestKit

AppledeMacBook-Pro:LXBTestKit apple$ git add .

AppledeMacBook-Pro:LXBTestKit apple$ git commit -m "second"

[master 0258ed8] second

Committer: Apple <apple@AppledeMacBook-Pro.local>

Your name and email address were configured automatically based

on your username and hostname. Please check that they are accurate.

You can suppress this message by setting them explicitly. Run the

following command and follow the instructions in your editor to edit

your configuration file:

 

    git config --global --edit

 

After doing this, you may fix the identity used for this commit with:

 

    git commit --amend --reset-author

 

2 files changed, 8 insertions(+), 1 deletion(-)

AppledeMacBook-Pro:LXBTestKit apple$ git push -u origin master

Enumerating objects: 11, done.

Counting objects: 100% (11/11), done.

Delta compression using up to 4 threads

Compressing objects: 100% (6/6), done.

Writing objects: 100% (6/6), 591 bytes | 591.00 KiB/s, done.

Total 6 (delta 4), reused 0 (delta 0)

remote: Resolving deltas: 100% (4/4), completed with 4 local objects.

To https://github.com/liuboliu/DevelopeKit

   f389d66..0258ed8  master -> master

Branch 'master' set up to track remote branch 'master' from 'origin'.

AppledeMacBook-Pro:LXBTestKit apple$ git tag 0.1.1

AppledeMacBook-Pro:LXBTestKit apple$ git push origin 0.1.1

Total 0 (delta 0), reused 0 (delta 0)

To https://github.com/liuboliu/DevelopeKit

* [new tag]         0.1.1 -> 0.1.1

AppledeMacBook-Pro:LXBTestKit apple$ pod repo push LBTestSpec /Users/apple/Desktop/KIT/LXBTestKit/LXBTestKit.podspec

 

Validating spec

-> LXBTestKit (0.1.1)

    - WARN  | github_sources: Github repositories should end in `.git`.

    - WARN  | summary: The summary is not meaningful.

    - NOTE  | xcodebuild:  note: Using new build system

    - NOTE  | [iOS] xcodebuild:  note: Planning build

    - NOTE  | [iOS] xcodebuild:  note: Constructing build description

 

[!] The `/Users/apple/Desktop/KIT/LXBTestKit/LXBTestKit.podspec` specification does not validate.

AppledeMacBook-Pro:LXBTestKit apple$ pod repo push LBTestSpec /Users/apple/Desktop/KIT/LXBTestKit/LXBTestKit.podspec

 

Validating spec

-> LXBTestKit (0.1.1)

    - WARN  | github_sources: Github repositories should end in `.git`.

    - WARN  | summary: The summary is not meaningful.

    - NOTE  | xcodebuild:  note: Using new build system

    - NOTE  | [iOS] xcodebuild:  note: Planning build

    - NOTE  | [iOS] xcodebuild:  note: Constructing build description

 

[!] The `/Users/apple/Desktop/KIT/LXBTestKit/LXBTestKit.podspec` specification does not validate.

AppledeMacBook-Pro:LXBTestKit apple$ pod repo push LBTestSpec /Users/apple/Desktop/KIT/LXBTestKit/LXBTestKit.podspec --allow-warnings

 

Validating spec

-> LXBTestKit (0.1.1)

    - WARN  | github_sources: Github repositories should end in `.git`.

    - WARN  | summary: The summary is not meaningful.

    - NOTE  | xcodebuild:  note: Using new build system

    - NOTE  | [iOS] xcodebuild:  note: Planning build

    - NOTE  | [iOS] xcodebuild:  note: Constructing build description

 

Updating the `LBTestSpec' repo

 

 

Adding the spec to the `LBTestSpec' repo

 

- [Update] LXBTestKit (0.1.1)

 

Pushing the `LBTestSpec' repo

 

AppledeMacBook-Pro:LXBTestKit apple$ pod install

[!] No `Podfile' found in the project directory.

AppledeMacBook-Pro:LXBTestKit apple$

 

自己需要输入的是

1 git add .

2git commit -m "second"

3git push -u origin master

4git tag 0.1.1

5git push origin 0.1.1

6 apple$ pod repo push LBTestSpec /Users/apple/Desktop/KIT/LXBTestKit/LXBTestKit.podspec --allow-warnings

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值