Partager via


Xcode Package iOS task

TFS 2017 | TFS 2015

Use this task to generate an .ipa file from Xcode build output.

Deprecated

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.

Demands

xcode

Arguments

Argument Description
Name of .app Name of the .app file, which is sometimes different from the .ipa file.
Name of .ipa Name of the .ipa file, which is sometimes different from the .app file.
Provisioning Profile Name Name of the provisioning profile to use when signing.
SDK The SDK you want to use. Run xcodebuild -showsdks to see a list of valid SDK values.

Advanced options

Argument Description
Path to .app Relative path to the built .app file. The default value is $(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK). Make sure to specify the variable values on the variables tab.
Path to place .ipa Relative path where the .ipa will be placed. The directory will be created if it doesn't exist. The default value is $(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/output. Make sure to specify the variable values on the variables tab.

Task control options

Open source

This task is open source on GitHub. Feedback and contributions are welcome.

FAQ

Do I need an agent?

You need at least one agent to run your build or release.

I'm having problems. How can I troubleshoot them?

See Troubleshoot Build and Release.

I can't select a default agent pool and I can't queue my build or release. How do I fix this?

See Agent pools.

My NuGet push task is failing with the following error: "Error: unable to get local issuer certificate". How can I fix this?

This can be fixed by adding a trusted root certificate. You can either add the NODE_EXTRA_CA_CERTS=file environment variable to your build agent, or you can add the NODE.EXTRA.CA.CERTS=file task variable in your pipeline. See Node.js documentation for more details about this variable. See Set variables in a pipeline for instructions on setting a variable in your pipeline.

I use TFS on-premises and I don't see some of these features. Why not?

Some of these features are available only on Azure Pipelines and not yet available on-premises. Some features are available on-premises if you have upgraded to the latest version of TFS.