{"id":7941,"date":"2015-11-12T03:04:17","date_gmt":"2015-11-12T03:04:17","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/12\/kattrali-cocoapods-xcode-plugin\/"},"modified":"2015-11-12T03:04:17","modified_gmt":"2015-11-12T03:04:17","slug":"kattrali-cocoapods-xcode-plugin","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/12\/kattrali-cocoapods-xcode-plugin\/","title":{"rendered":"kattrali\/cocoapods-xcode-plugin"},"content":{"rendered":"<p>Manage your dependencies, with minimal command line hack-fu<\/p>\n<h2>Features<\/h2>\n<ul>\n<li>Downloads and integrates CocoaPods listed in a project\u2019s Podfile<\/li>\n<li>Creates podspecs from a template<\/li>\n<li>Shows command output in the window console<\/li>\n<li>Installs documentation (from CocoaDocs) for the CocoaPods used in the open Xcode workspace<\/li>\n<li>Supports using a custom path to your CocoaPods installation<\/li>\n<li>Supports <code>$GEM_HOME<\/code> expansion, <code>$GEM_PATH<\/code> expansion, and <code>rvm<\/code> environments<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"http:\/\/github.com\/kattrali\/cocoadocs-xcode-plugin\/raw\/master\/menu.png\" \/><\/p>\n<h2>Prerequisites<\/h2>\n<ul>\n<li>Xcode 5+<\/li>\n<li>CocoaPods 0.22.1+, by default expected to be installed to <code>\/usr\/bin\/pod<\/code>. The installation path can be changed by editing <code>GEM PATH<\/code> in the <code>Product &gt; CocoaPods<\/code> menu. More details can be found in the Usage section.<\/li>\n<\/ul>\n<h2>Install<\/h2>\n<p>Install via Alcatraz<\/p>\n<p>OR<\/p>\n<p>Clone and build the project, then restart Xcode.<\/p>\n<h2>Uninstall<\/h2>\n<p>Uninstall via Alcatraz<\/p>\n<p>OR<\/p>\n<p>Run <code>rm -r ~\/Library\/Application\\ Support\/Developer\/Shared\/Xcode\/Plug-ins\/CocoaPods.xcplugin\/<\/code><\/p>\n<h2>Usage<\/h2>\n<h3>Custom GEM_PATH setting<\/h3>\n<p>You can specify a custom GEM_PATH in the <code>Product &gt; Cocoapods<\/code> menu. The default is <code>\/usr\/bin<\/code> and removing a custom value will restore the default. Both <code>$GEM_HOME<\/code> and <code>$GEM_PATH<\/code> are supported, along with <code>rvm<\/code> environments. That means the following settings are valid:<\/p>\n<pre><code>  \/usr\/bin\n  \/usr\/local\/bin\n  $GEM_HOME\/bin\n  ${GEM_HOME}\/bin\n  $GEM_PATH\/bin\n  ${GEM_PATH}\/bin\n  \/SOME_PARENT\/$GEM_HOME\/bin\n  \/SOME_PARENT\/$GEM_PATH\/bin\n<\/code><\/pre>\n<p>When specifying <code>$GEM_PATH<\/code> each path component will be expanded during command resolution. That means the following:<\/p>\n<pre><code>  $GEM_PATH\/bin\n  expands to...\n  \/Users\/jappleseed\/.rvm\/gems\/ruby-2.0.0-p247@my_gemset:\/Users\/jappleseed\/.rvm\/gems\/ruby-2.0.0-p247@global\n  expands to...\n  \/Users\/jappleseed\/.rvm\/gems\/ruby-2.0.0-p247@my_gemset\/bin:\/Users\/jappleseed\/.rvm\/gems\/ruby-2.0.0-p247@global\/bin\n<\/code><\/pre>\n<p>During command resolution, each path will be tested (in order) so that the first match is used.<\/p>\n<p>Path expansion and command resolution occurs each time before a command is run. For an <code>rvm<\/code> environment, <code>.ruby-version<\/code> and <code>.ruby-gemset<\/code> (in the root project directory) can dynamically alter the environment and Cocoapods supports this behavior.<\/p>\n<h4>Using GEM_PATH with rvm<\/h4>\n<p>Under most circumstances in an <code>rvm<\/code> environment the following custom <code>GEM_PATH<\/code> setting should be used:<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/github.com\/kattrali\/cocoadocs-xcode-plugin\/raw\/master\/menu_rvm.png\" \/><\/p>\n<p>NOTE: Behind the scenes, the <code>\/bin<\/code> path element will be converted to <code>\/wrapper<\/code> for rvm. If <code>.rvm<\/code> is not found in the expanded path, the <code>\/bin<\/code> path element will remain unmodified.<\/p>\n<h2>Contributors<\/h2>\n<h2>License<\/h2>\n<p><strong>cocoapods-xcode-plugin<\/strong> is licensed under the MIT open source license.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manage your dependencies, with minimal command line hack-fu Features Downloads and integrates CocoaPods listed in a project\u2019s 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, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7941","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7941"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7941\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}