Azure Pipelines | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015
Use this task in a build or release pipeline to run CocoaPods pod install.
CocoaPods is the dependency manager for Swift and Objective-C Cocoa projects. This task optionally runs
pod repo update and then runs
# CocoaPods # Install CocoaPods dependencies for Swift and Objective-C Cocoa projects - task: CocoaPods@0 inputs: #workingDirectory: # Optional forceRepoUpdate: #projectDirectory: # Optional
|Working directory||(Optional) Specify the working directory in which to execute this task. If left empty, the repository directory will be used.|
|Force repo update||(Required) Selecting this option will force running 'pod repo update' before install.|
|Project directory||(Optional) Optionally specify the path to the root of the project directory. If left empty, the project specified in the Podfile will be used. If no project is specified, then a search for an Xcode project will be made. If more than one Xcode project is found, an error will occur.|
This task is open source on GitHub. Feedback and contributions are welcome.
Q & A
What other kinds of apps can I build?
What other kinds of build tasks are available?
How do we protect our codebase from build breaks?
Git: Improve code quality with branch policies with an option to require that code builds before it can be merged to a branch. For GitHub repositories, similar policies are available in GitHub's repository settings under Branches.
TFVC: Use gated check-in.
How do I modify other parts of my build pipeline?
Specify your build tasks to run tests, scripts, and a wide range of other processes.
Specify build options such as specifying how completed builds are named, building multiple configurations, creating work items on failure.
Specify the repository to pick the source of the build and modify options such as how the agent workspace is cleaned.
Set build triggers to modify how your CI builds run and to specify scheduled builds.
Specify build retention policies to automatically delete old builds.
I selected parallel multi-configuration, but only one build is running at a time.
If you're using Azure Pipelines, you might need more parallel jobs. See Parallel jobs in Azure Pipelines.
How do I see what has changed in my build pipeline?
Do I need an agent?
You need at least one agent to run your build or release. Get an agent for Linux, macOS, or Windows.
I'm having problems. How can I troubleshoot them?
I can't select a default agent pool and I can't queue my build or release. How do I fix this?
See Agent pools.