Giter Club home page Giter Club logo

ylcommonkit's Introduction

YLCommonKit

通用库

上传新内容到 Pod的操作步骤

  1. 修改*.podspec文件中的版本号(s.version)
  2. 将更新内容上传到 GitHub,然后给这个更新内容设置标签,标签的版本号要和*.podspec文件中的版本号一致.
  3. 打开终端,来到项目的根目录下,远程检测代码仓库是否有问题 项目未引用第三方库时 pod spec lint --allow-warnings 当项目引用第三方库时(在后面加上--use-libraries,后面的pod trunk push也是一样) pod spec lint --allow-warnings --use-libraries 当出现*.podspec passed validation.时,证明没有问题,可以继续提交。
  4. 向远程代码索引库提交spec
pod trunk push --allow-warnings
pod trunk push --allow-warnings --use-libraries

出现以下内容时,证明已经上传成功了

Updating spec repo `master`

--------------------------------------------------------------------------------
🎉  Congrats

🚀  Kit (0.0.7) successfully published
📅  July 2nd, 01:54
🌎  https://cocoapods.org/pods/Kit
👍  Tell your friends!
--------------------------------------------------------------------------------


大概就是这些内容

  1. 搜索自己创建的库
pod search 库名

如果刚刚上传完,你可能搜索不到,执行下面的操作

rm ~/Library/Caches/CocoaPods/search_index.json

pod search 库名

注: 6. 注册 CocoaPods 维护者信息 查看自己的注册信息 pod trunk me

如果没有注册过,输入下面的命令 并根据命令进行注册 pod trunk register [email protected] '村雨灬龑'

注册之后邮箱会收到一封确认邮件,点击验证,如果多人维护pod 可以添加其他维护者 pod trunk add-owner YLCommonKit [email protected] (即:pod trunk remove-owner 库名 邮箱)

移除库的拥有者,也就是删除库 pod trunk remove-owner YLCommonKit [email protected](即:pod trunk remove-owner 库名 邮箱)

参考资料

https://www.jianshu.com/p/c5487c225a36

https://www.jianshu.com/p/7672943d8808

ylcommonkit's People

Contributors

xyl-private avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.