{"id":13908295,"url":"https://github.com/bitrise-steplib/steps-cocoapods-install","last_synced_at":"2026-01-29T12:13:08.308Z","repository":{"id":3422035,"uuid":"41878892","full_name":"bitrise-steplib/steps-cocoapods-install","owner":"bitrise-steplib","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-11T07:19:36.000Z","size":1238,"stargazers_count":23,"open_issues_count":0,"forks_count":18,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-10T06:49:11.071Z","etag":null,"topics":["bitrise","bitrise-step","ci","hacktoberfest","production-code"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitrise-steplib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-03T19:15:14.000Z","updated_at":"2024-07-11T07:19:38.000Z","dependencies_parsed_at":"2024-07-11T08:41:09.779Z","dependency_job_id":"3c547eb1-ad9c-44ce-939d-9d211a8de1bd","html_url":"https://github.com/bitrise-steplib/steps-cocoapods-install","commit_stats":null,"previous_names":["bitrise-io/steps-cocoapods-install"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/bitrise-steplib/steps-cocoapods-install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-cocoapods-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-cocoapods-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-cocoapods-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-cocoapods-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitrise-steplib","download_url":"https://codeload.github.com/bitrise-steplib/steps-cocoapods-install/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitrise-steplib%2Fsteps-cocoapods-install/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263914455,"owners_count":23529078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitrise","bitrise-step","ci","hacktoberfest","production-code"],"created_at":"2024-08-06T23:02:37.448Z","updated_at":"2026-01-29T12:13:08.294Z","avatar_url":"https://github.com/bitrise-steplib.png","language":"Go","funding_links":[],"categories":["HarmonyOS","Go"],"sub_categories":["Windows Manager"],"readme":"# Run CocoaPods install\n\n[![Step changelog](https://shields.io/github/v/release/bitrise-io/steps-cocoapods-install?include_prereleases\u0026label=changelog\u0026color=blueviolet)](https://github.com/bitrise-io/steps-cocoapods-install/releases)\n\nThis Step uses CocoaPods' `pod install` or `pod update` command to install your dependencies.\n\n\u003cdetails\u003e\n\u003csummary\u003eDescription\u003c/summary\u003e\n\n\nCocoaPods is a dependency manager for Swift and Objective-C projects. This Step uses CocoaPods' `pod install` or `pod update` command to install your dependencies on the virtual machine where your Bitrise build runs.\n\nCocoaPods version is determined based on the Podfile.lock file or on the Gemfile.lock file. If your Gemfile.lock file contains the `cocoapods` gem, then the Step will call the pod `install` command with `bundle exec`. Otherwise, the Cocoapods version in the Podfile.lock will be installed as a global gem.\nIf no Cocoapods version is defined in Podfile.lock or Gemfile.lock, the preinstalled sytem Cocoapods version will be used.\n\n### Configuring the Step\n\n1. Set the **Source Code Directory path** to the path of your app's source code.\n\n1. Optionally, provide a Podfile in the **Podfile path** input.\n\n   Without a specific Podfile, the Step does a recursive search for the Podfile in the root of your app's directory, and uses the first Podfile it finds.\n\n### Troubleshooting\n\nIf the Step fails, check out the Podfile and the Gemfile of your app. Make sure there is no compatibility issue with the different versions of your Pods.\n\nCheck that both Podfile.lock and Gemfile.lock is committed and the Cocoapods versions defined in both match.\n\nYou can set the **Execute cocoapods in verbose mode?** input to true to get detailed logs of the Step.\n\n### Useful links\n\n* [Cache save](https://github.com/bitrise-steplib/bitrise-step-save-cocoapods-cache) and [restore](https://github.com/bitrise-steplib/bitrise-step-restore-cocoapods-cache) steps\n* [Include your dependencies in your repository](https://devcenter.bitrise.io/tips-and-tricks/optimize-your-build-times/#include-your-dependencies-in-your-repository)\n\n### Related Steps\n\n* [Run yarn command](https://www.bitrise.io/integrations/steps/yarn)\n* [Carthage](https://www.bitrise.io/integrations/steps/carthage)\n\u003c/details\u003e\n\n## 🧩 Get started\n\nAdd this step directly to your workflow in the [Bitrise Workflow Editor](https://docs.bitrise.io/en/bitrise-ci/workflows-and-pipelines/steps/adding-steps-to-a-workflow.html).\n\nYou can also run this step directly with [Bitrise CLI](https://github.com/bitrise-io/bitrise).\n\n## ⚙️ Configuration\n\n\u003cdetails\u003e\n\u003csummary\u003eInputs\u003c/summary\u003e\n\n| Key | Description | Flags | Default |\n| --- | --- | --- | --- |\n| `command` | CocoaPods command to use for installing dependencies.  Available options: - `install`: Use `pod install` to download the explicit version listed in the Podfile.lock without trying to check if a newer version is available. - `update`: Use `pod update` to update every Pod listed in your Podfile to the latest version possible.  | required | `install` |\n| `source_root_path` | Directory path where the project's Podfile (and optionally Gemfile) is placed.  CocoaPods commands will be executed in this directory.  | required | `$BITRISE_SOURCE_DIR` |\n| `podfile_path` | Path of the project's Podfile.  By specifying this input `Workdir` gets overriden by the provided file's directory path. |  |  |\n| `verbose` | Execute all CocoaPods commands in verbose mode.  If enabled the `--verbose` flag will be appended to all CocoaPods commands.  |  | `false` |\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eOutputs\u003c/summary\u003e\nThere are no outputs defined in this step\n\u003c/details\u003e\n\n## 🙋 Contributing\n\nWe welcome [pull requests](https://github.com/bitrise-io/steps-cocoapods-install/pulls) and [issues](https://github.com/bitrise-io/steps-cocoapods-install/issues) against this repository.\n\nFor pull requests, work on your changes in a forked repository and use the Bitrise CLI to [run step tests locally](https://docs.bitrise.io/en/bitrise-ci/bitrise-cli/running-your-first-local-build-with-the-cli.html).\n\nLearn more about developing steps:\n\n- [Create your own step](https://docs.bitrise.io/en/bitrise-ci/workflows-and-pipelines/developing-your-own-bitrise-step/developing-a-new-step.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitrise-steplib%2Fsteps-cocoapods-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitrise-steplib%2Fsteps-cocoapods-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitrise-steplib%2Fsteps-cocoapods-install/lists"}