Muokkaa

Jaa


CocoaPods@0 - CocoaPods v0 task

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.

Syntax

# 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.
# 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.

Inputs

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.


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

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


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.


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

None.

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

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
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