Most people gets really confused about when to use pod install vs update. Today we are going to discuss just that.
To install the list of pods mentioned in your podfile for the first time,use pod install. This in turn will create a Podfile.lock file which manages the list of pods version. Suppose after some days of development, you decided to add a new pod in the Podfile, which command should you use..install or update ??
Common sense dictates that since we are updating the Podfile, we should use pod update and this is where most people make mistakes. We have to use pod update only in case where we have to update the version of a particular pod or all the pods.