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.

Syntax

# Xcode Package iOS v0
# Generate an .ipa file from Xcode build output using xcrun (Xcode 7 or below).
- task: XcodePackageiOS@0
  inputs:
    appName: 'name.app' # string. Required. Name of .app. Default: name.app.
    ipaName: 'name.ipa' # string. Required. Name of .ipa. Default: name.ipa.
    provisioningProfile: # string. Required. Provisioning Profile Name. 
    sdk: 'iphoneos' # string. Required. SDK. Default: iphoneos.
  # Advanced
    appPath: '$(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)' # string. Required. Path to .app. Default: $(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK).
    ipaPath: '$(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/output' # string. Required. Path to place .ipa. Default: $(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/output.

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