Редактиране

Споделяне чрез


InstallAppleProvisioningProfile@0 - Install Apple Provisioning Profile v0 task

Use this task to install an Apple provisioning profile, which is required in order to build on a macOS agent.

Syntax

# Install Apple Provisioning Profile v0
# Install an Apple provisioning profile required to build on a macOS agent.
- task: InstallAppleProvisioningProfile@0
  inputs:
    provProfileSecureFile: # string. Required. Provisioning Profile. 
    #removeProfile: true # boolean. Remove Profile After Build. Default: true.

Inputs

provProfileSecureFile - Provisioning Profile
string. Required.

Specifies the provisioning profile that was uploaded to Secure Files to install on the macOS agent.


removeProfile - Remove Profile After Build
boolean. Default value: true.

Specifies that the provisioning profile should be removed from the agent after the build or release is complete.


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

You can use this task to install provisioning profiles needed to build iOS Apps, Apple WatchKit apps, and App extensions.

You can install an Apple provisioning profile that is:

  • Stored as a secure file on the server.
  • Committed to the source repository or copied to a local path on the macOS agent. You should encrypt the provisioning profiles if you are committing them to the source repository. You can use the Decrypt File task to decrypt the profiles during a build or release.

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands Self-hosted agents must have capabilities that match the following demands to run jobs that use this task: xcode
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version 2.116.0 or greater
Task category Utility