Skip to content

Latest commit

 

History

History
165 lines (125 loc) · 5.75 KB

cocoa-pods-v0.md

File metadata and controls

165 lines (125 loc) · 5.75 KB
title description ms.date monikerRange
CocoaPods@0 - CocoaPods v0 task
Install CocoaPods dependencies for Swift and Objective-C Cocoa projects.
04/16/2024
<=azure-pipelines

CocoaPods@0 - CocoaPods v0 task

:::moniker range="<=azure-pipelines"

Use this task 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 pod install.

:::moniker-end

Syntax

:::moniker range=">=azure-pipelines-2019.1"

# CocoaPods v0
# Install CocoaPods dependencies for Swift and Objective-C Cocoa projects.
- task: CocoaPods@0
  inputs:
    #workingDirectory: # string. Alias: cwd. Working directory. 
  # Advanced
    #forceRepoUpdate: false # boolean. Force repo update. Default: false.
    #projectDirectory: # string. Project directory.

:::moniker-end

:::moniker range="=azure-pipelines-2019"

# CocoaPods v0
# CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. This task runs 'pod install'.
- task: CocoaPods@0
  inputs:
    #workingDirectory: # string. Alias: cwd. Working directory. 
  # Advanced
    #forceRepoUpdate: false # boolean. Force repo update. Default: false.
    #projectDirectory: # string. Project directory.

:::moniker-end

Inputs

:::moniker range="<=azure-pipelines"

workingDirectory - Working directory
Input alias: cwd. string.

Specifies the working directory in which to execute this task. If left empty, the repository directory will be used.


:::moniker-end

:::moniker range="<=azure-pipelines"

forceRepoUpdate - Force repo update
boolean. Default value: false.

Selecting this option will force running pod repo update before installation.


:::moniker-end

:::moniker range="<=azure-pipelines"

projectDirectory - Project directory
string.

Optional. Specifies the path to the root of the project directory. If left empty, the task uses the specified project in the podfile. If no project is specified, then the task searches for an Xcode project. If the task finds more than one Xcode project, an error will occur.


:::moniker-end

Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

:::moniker range="<=azure-pipelines"

None.

:::moniker-end

Remarks

Use this task 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 pod install.

Requirements

:::moniker range=">=azure-pipelines-2022"

Requirement Description
Pipeline types YAML, Classic build
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions This task runs using the following command restrictions: restricted
Settable variables This task has permission to set the following variables: Setting variables is disabled
Agent version 2.182.1 or greater
Task category Package

:::moniker-end

:::moniker range="<=azure-pipelines-2020.1"

Requirement Description
Pipeline types YAML, Classic build
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version All supported agent versions.
Task category Package

:::moniker-end