pod_outdated
Run pod outdated to check which CocoaPods dependencies in your project have newer versions available. This compares the currently installed versions (from Podfile.lock) against the latest versions in the CocoaPods spec repository, showing you what updates are available without making any changes. Use this to plan dependency updates and stay on top of security patches.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectPath | string | No | — | Absolute path to the directory containing the Podfile. If omitted, uses the current working directory. |
Usage Examples
Section titled “Usage Examples”Check for outdated pods
Section titled “Check for outdated pods”“Which of my CocoaPods have newer versions?”
{ "projectPath": "/Users/johndoe/Projects/MyApp"}Audit dependencies before a release
Section titled “Audit dependencies before a release”“Check if any pods are outdated before we cut the release”
{ "projectPath": "/Users/johndoe/Projects/MyApp"}Example Output
Section titled “Example Output”Checking for outdated CocoaPods...Project: /Users/johndoe/Projects/MyApp
The following pod updates are available:- Firebase 11.4.0 -> 11.6.0 (latest: 11.6.0)- FirebaseAnalytics 11.4.0 -> 11.6.0 (latest: 11.6.0)- FirebaseCore 11.4.0 -> 11.6.0 (latest: 11.6.0)- IQKeyboardManager 7.1.1 -> 7.2.0 (latest: 7.2.0)- SDWebImage 5.19.7 -> 5.20.0 (latest: 5.20.0)
Up to date:- GoogleUtilities 8.0.2- SVProgressHUD 2.3.1
5 out of 7 pods have updates available.Related Tools
Section titled “Related Tools”pod_update— Update pods to the newer versions shown by this toolpod_install— Install pods from the lock file at their current versionsspm_show_dependencies— View the SPM dependency tree if your project also uses Swift packages