Skip to content

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.

ParameterTypeRequiredDefaultDescription
projectPathstringNoAbsolute path to the directory containing the Podfile. If omitted, uses the current working directory.

“Which of my CocoaPods have newer versions?”

{
"projectPath": "/Users/johndoe/Projects/MyApp"
}

“Check if any pods are outdated before we cut the release”

{
"projectPath": "/Users/johndoe/Projects/MyApp"
}
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.
  • pod_update — Update pods to the newer versions shown by this tool
  • pod_install — Install pods from the lock file at their current versions
  • spm_show_dependencies — View the SPM dependency tree if your project also uses Swift packages