Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the "pod install" command do on Mac OS X?

I was watching a video on creating an iOS App using Xcode and Heroku. The following command was typed in Z shell zsh:

pod install

What does this do and what is it used for? A simple overview would be sufficient.

like image 495
Simon Bosley Avatar asked Feb 28 '14 13:02

Simon Bosley


People also ask

What does POD install do?

It installs the dependencies as specified by the pod file in the Xcode project folder.

What are pods in Mac?

CocoaPods is an application level dependency manager for Objective-C, Swift and any other languages that run on the Objective-C runtime, such as RubyMotion, that provides a standard format for managing external libraries.

What is the difference between POD install and pod update?

You added a new pod to your Podfile This will install the latest version* of any new pods added to your Podfile, leaving your other pods unchanged. If you were to run pod update instead, it would install the new pods and update each of your existing pods to its latest version*.

How do I know if my Mac has a pod?

To find if Cocoapods is installed or not run cmd (pod --version). if theresult is (Not Found) Pods is not installed.


1 Answers

It installs the dependencies as specified by the pod file in the Xcode project folder. See cocoapods.org for details.

like image 78
Wain Avatar answered Nov 15 '22 21:11

Wain