{"id":1174,"date":"2020-03-23T02:01:21","date_gmt":"2020-03-23T02:01:21","guid":{"rendered":"http:\/\/kabiliravi.com\/?page_id=1174"},"modified":"2020-03-23T02:06:28","modified_gmt":"2020-03-23T02:06:28","slug":"install-cocoapods","status":"publish","type":"page","link":"http:\/\/kabiliravi.com\/index.php\/software\/programming\/objective-c\/install-cocoapods\/","title":{"rendered":"Install CocoaPods"},"content":{"rendered":"\n<p>Make sure the latest ruby stable version installed on your Mac based on your MacOS version. Check the version using following command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ ruby --version                                                                  ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin18]<\/pre>\n\n\n\n<p>If the ruby version is not the latest or you receive ruby command not found, visit <a href=\"http:\/\/kabiliravi.com\/index.php\/software\/programming\/ruby\/install-ruby\/\">Install Ruby<\/a> page to install ruby.<\/p>\n\n\n\n<p>To install cocoapods use following command to install it using gem.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo gem install cocoapods<\/pre>\n\n\n\n<p>Here is a sample result of cocoapods successful installation<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Fetching tzinfo-1.2.6.gem\n Fetching thread_safe-0.3.6.gem\n Fetching concurrent-ruby-1.1.6.gem\n Fetching i18n-0.9.5.gem\n Fetching activesupport-4.2.11.1.gem\n Fetching nap-1.1.0.gem\n Fetching fuzzy_match-2.0.4.gem\n Fetching httpclient-2.8.3.gem\n Fetching algoliasearch-1.27.1.gem\n Fetching ffi-1.12.2.gem\n Fetching ethon-0.12.0.gem\n Fetching typhoeus-1.3.1.gem\n Fetching netrc-0.11.0.gem\n Fetching cocoapods-core-1.9.1.gem\n Fetching claide-1.0.3.gem\n Fetching cocoapods-deintegrate-1.0.4.gem\n Fetching cocoapods-downloader-1.3.0.gem\n Fetching cocoapods-plugins-1.0.0.gem\n Fetching cocoapods-search-1.0.0.gem\n Fetching cocoapods-stats-1.1.0.gem\n Fetching cocoapods-trunk-1.4.1.gem\n Fetching cocoapods-try-1.1.0.gem\n Fetching molinillo-0.6.6.gem\n Fetching atomos-0.1.3.gem\n Fetching CFPropertyList-3.0.2.gem\n Fetching colored2-3.1.2.gem\n Fetching nanaimo-0.2.6.gem\n Fetching xcodeproj-1.15.0.gem\n Fetching escape-0.0.4.gem\n Fetching fourflusher-2.3.1.gem\n Fetching gh_inspector-1.1.3.gem\n Fetching ruby-macho-1.4.0.gem\n Fetching cocoapods-1.9.1.gem\n Successfully installed thread_safe-0.3.6\n Successfully installed tzinfo-1.2.6\n Successfully installed concurrent-ruby-1.1.6\n Successfully installed i18n-0.9.5\n Successfully installed activesupport-4.2.11.1\n Successfully installed nap-1.1.0\n Successfully installed fuzzy_match-2.0.4\n Successfully installed httpclient-2.8.3\n Successfully installed algoliasearch-1.27.1\n Building native extensions. This could take a while\u2026\n Successfully installed ffi-1.12.2\n Successfully installed ethon-0.12.0\n Successfully installed typhoeus-1.3.1\n Successfully installed netrc-0.11.0\n Successfully installed cocoapods-core-1.9.1\n Successfully installed claide-1.0.3\n Successfully installed cocoapods-deintegrate-1.0.4\n Successfully installed cocoapods-downloader-1.3.0\n Successfully installed cocoapods-plugins-1.0.0\n Successfully installed cocoapods-search-1.0.0\n Successfully installed cocoapods-stats-1.1.0\n Successfully installed cocoapods-trunk-1.4.1\n Successfully installed cocoapods-try-1.1.0\n Successfully installed molinillo-0.6.6\n Successfully installed atomos-0.1.3\n Successfully installed CFPropertyList-3.0.2\n Successfully installed colored2-3.1.2\n Successfully installed nanaimo-0.2.6\n Successfully installed xcodeproj-1.15.0\n Successfully installed escape-0.0.4\n Successfully installed fourflusher-2.3.1\n Successfully installed gh_inspector-1.1.3\n Successfully installed ruby-macho-1.4.0\n Successfully installed cocoapods-1.9.1\n Parsing documentation for thread_safe-0.3.6\n Installing ri documentation for thread_safe-0.3.6\n Parsing documentation for tzinfo-1.2.6\n Installing ri documentation for tzinfo-1.2.6\n Parsing documentation for concurrent-ruby-1.1.6\n Installing ri documentation for concurrent-ruby-1.1.6\n Parsing documentation for i18n-0.9.5\n Installing ri documentation for i18n-0.9.5\n Parsing documentation for activesupport-4.2.11.1\n Installing ri documentation for activesupport-4.2.11.1\n Parsing documentation for nap-1.1.0\n Installing ri documentation for nap-1.1.0\n Parsing documentation for fuzzy_match-2.0.4\n Installing ri documentation for fuzzy_match-2.0.4\n Parsing documentation for httpclient-2.8.3\n Installing ri documentation for httpclient-2.8.3\n Parsing documentation for algoliasearch-1.27.1\n Installing ri documentation for algoliasearch-1.27.1\n Parsing documentation for ffi-1.12.2\n Installing ri documentation for ffi-1.12.2\n Parsing documentation for ethon-0.12.0\n Installing ri documentation for ethon-0.12.0\n Parsing documentation for typhoeus-1.3.1\n Installing ri documentation for typhoeus-1.3.1\n Parsing documentation for netrc-0.11.0\n Installing ri documentation for netrc-0.11.0\n Parsing documentation for cocoapods-core-1.9.1\n Installing ri documentation for cocoapods-core-1.9.1\n Parsing documentation for claide-1.0.3\n Installing ri documentation for claide-1.0.3\n Parsing documentation for cocoapods-deintegrate-1.0.4\n Installing ri documentation for cocoapods-deintegrate-1.0.4\n Parsing documentation for cocoapods-downloader-1.3.0\n Installing ri documentation for cocoapods-downloader-1.3.0\n Parsing documentation for cocoapods-plugins-1.0.0\n Installing ri documentation for cocoapods-plugins-1.0.0\n Parsing documentation for cocoapods-search-1.0.0\n Installing ri documentation for cocoapods-search-1.0.0\n Parsing documentation for cocoapods-stats-1.1.0\n Installing ri documentation for cocoapods-stats-1.1.0\n Parsing documentation for cocoapods-trunk-1.4.1\n Installing ri documentation for cocoapods-trunk-1.4.1\n Parsing documentation for cocoapods-try-1.1.0\n Installing ri documentation for cocoapods-try-1.1.0\n Parsing documentation for molinillo-0.6.6\n Installing ri documentation for molinillo-0.6.6\n Parsing documentation for atomos-0.1.3\n Installing ri documentation for atomos-0.1.3\n Parsing documentation for CFPropertyList-3.0.2\n Installing ri documentation for CFPropertyList-3.0.2\n Parsing documentation for colored2-3.1.2\n Installing ri documentation for colored2-3.1.2\n Parsing documentation for nanaimo-0.2.6\n Installing ri documentation for nanaimo-0.2.6\n Parsing documentation for xcodeproj-1.15.0\n Installing ri documentation for xcodeproj-1.15.0\n Parsing documentation for escape-0.0.4\n Installing ri documentation for escape-0.0.4\n Parsing documentation for fourflusher-2.3.1\n Installing ri documentation for fourflusher-2.3.1\n Parsing documentation for gh_inspector-1.1.3\n Installing ri documentation for gh_inspector-1.1.3\n Parsing documentation for ruby-macho-1.4.0\n Installing ri documentation for ruby-macho-1.4.0\n Parsing documentation for cocoapods-1.9.1\n Installing ri documentation for cocoapods-1.9.1\n Done installing documentation for thread_safe, tzinfo, concurrent-ruby, i18n, activesupport, nap, fuzzy_match, httpclient, algoliasearch, ffi, ethon, typhoeus, netrc, cocoapods-core, claide, cocoapods-deintegrate, cocoapods-downloader, cocoapods-plugins, cocoapods-search, cocoapods-stats, cocoapods-trunk, cocoapods-try, molinillo, atomos, CFPropertyList, colored2, nanaimo, xcodeproj, escape, fourflusher, gh_inspector, ruby-macho, cocoapods after 41 seconds\n 33 gems installed<\/pre>\n\n\n\n<p>Use following command, you can check the version cocoapods<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ pod --version\n1.9.1<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Make sure the latest ruby stable version installed on your Mac based on your MacOS version. Check the version using following command. $ ruby &#8211;version ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin18] If the ruby version is not the latest or you receive ruby command not found, visit Install Ruby page to install ruby. To install [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1171,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-1174","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/pages\/1174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/comments?post=1174"}],"version-history":[{"count":3,"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/pages\/1174\/revisions"}],"predecessor-version":[{"id":1183,"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/pages\/1174\/revisions\/1183"}],"up":[{"embeddable":true,"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/pages\/1171"}],"wp:attachment":[{"href":"http:\/\/kabiliravi.com\/index.php\/wp-json\/wp\/v2\/media?parent=1174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}