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.
It installs the dependencies as specified by the pod file in the Xcode project folder.
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.
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*.
To find if Cocoapods is installed or not run cmd (pod --version). if theresult is (Not Found) Pods is not installed.
It installs the dependencies as specified by the pod file in the Xcode project folder. See cocoapods.org for details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With