• This repository has been archived on 19/Feb/2018
  • Stars
    star
    2,328
  • Rank 19,777 (Top 0.4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 11 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[deprecated] Dependency management helper for your CocoaPods, right in Xcode 6 and 7

CocoaPods for Xcode

project deprecated

This project is deprecated in favor of Editor Extensions support in Xcode 8+.

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
  • Offline mode

Menu

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

OR

Clone and build the project, then restart Xcode.

Uninstall

Uninstall via Alcatraz

OR

Run rm -r ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin/

Usage

Offline mode

In some situations, such as working under poor network conditions, you may want to run pod in offline mode. Toggle Product > CocoaPods > Update and Install Offline Only to enable offline mode.

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:

Suitable rvm setting

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

License

cocoapods-xcode-plugin is licensed under the MIT open source license.

More Repositories

1

Xcode-Plugin-Template

[deprecated] Plugin base for Xcode 6 and 7
920
star
2

deriveddata-exterminator

A magic button in Xcode to exterminate the current project's DerivedData directories
Objective-C
592
star
3

rust-mac-app-examples

Examples of and templates for running Rust in Cocoa apps on the Mac
Rust
262
star
4

xcpretty-travis-formatter

xcpretty custom formatter for TravisCI
Ruby
59
star
5

clamshell

A tidy Cocoa documentation viewer
Objective-C
45
star
6

ovaltine

The chocolatey treat which makes your Cocoa UI code clean!
Ruby
43
star
7

webkitten

A command-driven web browser toolkit inspired by luakit and Vim.
Rust
40
star
8

xcode-devtools

Some scripts helpful for xcode plugin development
Ruby
33
star
9

redcar-rubymotion

RubyMotion workflow support in Redcar Editor
Ruby
32
star
10

weemoji

Weechat plugin to replace emoji in the 'colon' format with unicode equivalents! 👍
Python
29
star
11

docstat

Documentation metrics generator for Cocoa libraries
Ruby
22
star
12

cocoadex

CLI for Cocoa Documentation Reference
Ruby
21
star
13

regexpress

CLI Go regular expression tester
Go
19
star
14

SimpleSyncService

A simple, customizable service for updating Core Data models
Objective-C
14
star
15

unity-native-plugin-example

An example of a native Unity plugin, wrapping a C library in a C# interface
C
7
star
16

thyme

Command-line interface implementation of Sage Solitaire
Rust
6
star
17

dotfiles

system configuration and initialization files
Vim Script
5
star
18

tracker-keeper

View your assigned pivotal tracker stories with minimalism
Ruby
4
star
19

pbhistory

List text items on the OS X pasteboard
Swift
3
star