共用方式為


XcodePackageiOS@0 - Xcode Package iOS v0 task

Use this task to generate an .ipa file from Xcode build output using xcrun (Xcode 7 or below).

This task is deprecated.

Inputs

appName - Name of .app
string. Required. Default value: name.app.

Specifies the name of the .app, which is sometimes different from the .ipa.


ipaName - Name of .ipa
string. Required. Default value: name.ipa.

Specifies the name of the .ipa, which is sometimes different from the .app.


provisioningProfile - Provisioning Profile Name
string. Required.

Specifies the name of the provisioning profile to use when signing.


sdk - SDK
string. Required. Default value: iphoneos.

Specifies the SDK. Run xcodebuild -showsdks to see the valid list of SDKs.


appPath - Path to .app
string. Required. Default value: $(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK).

Specifies the relative path to the built .app file.


ipaPath - Path to place .ipa
string. Required. Default value: $(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/output.

Specifies the relative path where the .ipa is placed. The directory is created if it doesn't exist.


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 generate an .ipa file from Xcode build output.

Important

The Xcode Package iOS task has been deprecated. It is relevant only if you are using Xcode 6.4. Otherwise, use the latest version of the Xcode task.

Requirements

Requirement Description
Pipeline types YAML, Classic build
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 All supported agent versions.
Task category Build