共用方式為


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.

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 Any
Settable variables Any
Agent version All supported agent versions.
Task category Package