1 Star 2 Fork 2

滕松松/Specs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
文件数量太多,仅显示 1000 文件
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
MIT
# A repository of CocoaPods specifications. [![Build Status](http://img.shields.io/travis/CocoaPods/Specs/master.svg)](http://travis-ci.org/CocoaPods/Specs) This repository contains specifications of open-source Objective-C libraries, which are used by [CocoaPods](https://github.com/CocoaPods/CocoaPods) to manage library dependencies for your Xcode project. ## Creating specifications First of all, you need to install the tools. ```console $ [sudo] gem install cocoapods ``` Then you can have the CocoaPods `pod` command create a stub specification: ```console $ pod spec create Bananas $ pod spec create https://github.com/Bananas/Bananas # For libraries hosted on GitHub ``` Now edit the stub specification following the explanations therein contained. This file is a [Ruby](http://www.ruby-lang.org/) source file. ```console $ vim Bananas.podspec ``` You can verify the specification file with the lint command. This command checks for common errors and whether the pod builds on the platforms that it supports. ```console $ pod spec lint Bananas.podspec --verbose ``` Once you have created a working specification create a pull request. ### Namespacing A specification file has to be namespaced by the library’s name and the version for which the specification is meant. For instance, the directory for a library named ‘Bananas’ with version ‘1.2.3’ should be: $ mkdir -p Bananas/1.2.3 $ cd Bananas/1.2.3 ### Versioning CocoaPods uses a versioning scheme known as [Semantic Versioning](http://semver.org/). See this [example](https://github.com/CocoaPods/Specs/wiki/Cross-dependencies-resolution-example) for more info on why this scheme is used. If the library, that you are creating a specification for, does not yet have any tagged versions in its repo, then it’s best to start with the lowest version ‘0.0.1’, which will ensure that once the author does add tagged versions they will be equal or higher than ‘0.0.1’. It is _your_ responsibility to ask the author of the library to tag versions, luckily we have [a template](https://github.com/CocoaPods/Specs/wiki/%22Please-add-semantic-version-tags%22-issue-template) for this. ## Check the entire repo You can also verify the entire set by running the rake task. $ rake lint _(Note: this is run on every commit by [Travis](http://travis-ci.org/#!/CocoaPods/Specs))_ ## License These specifications and CocoaPods are available under the [MIT license](http://www.opensource.org/licenses/mit-license.php).

简介

github CocoaPods/Specs 镜像 展开 收起
Objective-C
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Objective-C
1
https://gitee.com/shawnteng/Specs.git
git@gitee.com:shawnteng/Specs.git
shawnteng
Specs
Specs
master

搜索帮助