# CocoaPods for Xcode
Manage your dependencies, with minimal command line hack-fu
## Features
- Downloads and integrates CocoaPods listed in a project's Podfile
- Creates podspecs from a template
- Shows command output in the window console
- Installs documentation (from CocoaDocs) for the CocoaPods used in the open Xcode workspace
- Supports using a custom path to your CocoaPods installation
- Supports `$GEM_HOME` expansion, `$GEM_PATH` expansion, and `rvm` environments

## Prerequisites
- Xcode 5+
- CocoaPods 0.22.1+, by default expected to be installed to `/usr/bin/pod`. The installation path can be changed by editing `GEM PATH` in the `Product > CocoaPods` menu. More details can be found in the Usage section.
## Install
Install via [Alcatraz](http://alcatraz.io/)
OR
Clone and build the project, then restart Xcode.
## Uninstall
Uninstall via [Alcatraz](http://alcatraz.io/)
OR
Run `rm -r ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin/`
## Usage
### Custom GEM_PATH setting
You can specify a custom GEM_PATH in the `Product > Cocoapods` menu. The default is `/usr/bin` and removing a custom value will restore the default. Both `$GEM_HOME` and `$GEM_PATH` are supported, along with `rvm` environments. That means the following settings are valid:
```
/usr/bin
/usr/local/bin
$GEM_HOME/bin
${GEM_HOME}/bin
$GEM_PATH/bin
${GEM_PATH}/bin
/SOME_PARENT/$GEM_HOME/bin
/SOME_PARENT/$GEM_PATH/bin
```
When specifying `$GEM_PATH` each path component will be expanded during command resolution. That means the following:
```
$GEM_PATH/bin
expands to...
/Users/jappleseed/.rvm/gems/ruby-2.0.0-p247@my_gemset:/Users/jappleseed/.rvm/gems/ruby-2.0.0-p247@global
expands to...
/Users/jappleseed/.rvm/gems/ruby-2.0.0-p247@my_gemset/bin:/Users/jappleseed/.rvm/gems/ruby-2.0.0-p247@global/bin
```
During command resolution, each path will be tested (in order) so that the first match is used.
Path expansion and command resolution occurs each time before a command is run. For an `rvm` environment, `.ruby-version` and `.ruby-gemset` (in the root project directory) can dynamically alter the environment and Cocoapods supports this behavior.
#### Using GEM_PATH with rvm
Under most circumstances in an `rvm` environment the following custom `GEM_PATH` setting should be used:

NOTE: Behind the scenes, the `/bin` path element will be converted to `/wrapper` for rvm. If `.rvm` is not found in the expanded path, the `/bin` path element will remain unmodified.
## [Contributors](https://github.com/kattrali/cocoapods-xcode-plugin/graphs/contributors)
## License
**cocoapods-xcode-plugin** is [licensed under the MIT open source license](https://github.com/kattrali/cocoapods-xcode-plugin/blob/master/LICENSE).
没有合适的资源?快使用搜索试试~ 我知道了~
安装cocoaPods控件

共40个文件
m:9个
h:8个
plist:2个

需积分: 3 131 下载量 176 浏览量
2015-07-04
14:18:55
上传
评论
收藏 102KB ZIP 举报
温馨提示
非常方便的Xcode pods插件。可以很方便的在Xcode通过pods安装各种objective-c第三方库,省去以前还要手动去跑pods命令行的麻烦;此外,还支持通过cocoaDocs来安装库文档。 项目地址:https://github.com/kattrali/cocoapods-xcode-plugin
资源推荐
资源详情
资源评论













格式:xcprivacy 资源大小:599.0B
















收起资源包目录





















































共 40 条
- 1
资源评论


土鳖不土
- 粉丝: 31
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
