How cocoapods work


Help manage and maintain third-party frameworks

Simple understanding: quickly search multiple third-party frameworks, and then automatically integrate them into multiple projects. And compiled into a libpod A’s static library is for our project.
The difference between pod update and pod install

Pod install will refer to podfile The version number of the third-party library in the lock file

How cocoapods work

Screenshot 1.53.18 PM, July 28, 2021 png

Pod update will install the third-party library by referring to the files in podfile. Because the library files in podfile have no version number, pod update will install the latest library. When there is a large gap between the version of the library used by you and your partners, your API gap will cause unknown problems

How cocoapods work

Screenshot: 9.26.20 PM, July 27, 2021 png