cocoapods-check displays the differences between locked and installed Pods. It can save time by quickly showing whether it's necessary to run pod install
. For more information see CocoaPods/CocoaPods#4385 and CocoaPods/CocoaPods#4346.
$ gem install cocoapods-check
pod check
will display a list of Pods that will be installed by running pod install
:
$ pod check
~SquareData, +SquareItems, ΔSquareTables
[!] `pod install` will install 3 Pods.
The symbol before each Pod name indicates the status of the Pod. A ~
indicates a version of a Pod exists locally, but the version specified in Podfile.lock
is different. A +
indicates no version of the Pod exists locally, while a Δ
indicates the Pod is a development Pod. Development pods are always assumed to be 'dirty'. Pods that don't require an update will not be listed.
Verbose mode shows a bit more detail:
$ pod check --verbose
SquareData 1.2.1 -> 1.2.2
SquareItems newly added
SquareTables {:path=>"/Users/doo/Code/SquareTables"}
[!] `pod install` will install 3 Pods.
If no Pods are out of date, then the output looks like:
$ pod check
The Podfile's dependencies are satisfied
If any Pods are out of date, pod check
will exit with a non-zero exit code. Otherwise it will exit with an exit code of zero.
cocoapods-check is under the Apache 2.0 license. See the LICENSE file for details.