Skip to content

Automated Dependency Updates for CocoaPods

Categories: swift

Renovate supports updating CocoaPods dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)Podfile$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: git-tags, github-tags, gitlab-tags, pod.

Default config

{
  "fileMatch": [
    "(^|/)Podfile$"
  ],
  "versioning": "ruby"
}

Additional Information

The cocoapods manager supports extracting both "pod" type references as well as dependencies on GitHub repositories that use versioned tags.

Whenever a Podfile is updated, Renovate will also update any associated Podfile.lock file. This is done using the cocoapods gem, which runs within the Ruby runtime.

Open items

The below list of features were current when this page was generated on May 26, 2024.

Feature requests

  • Support rangeStrategy="update-lockfile" for Cocoapods #7621