Xcode Package iOS task

Azure Pipelines | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015

Use this task in a build or release pipeline 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

YAML snippet

# Xcode Package iOS
# Generate an .ipa file from Xcode build output using xcrun (Xcode 7 or below)
- task: XcodePackageiOS@0
  inputs:
    #appName: 'name.app' 
    #ipaName: 'name.ipa' 
    provisioningProfile: 
    #sdk: 'iphoneos' 
    #appPath: '$(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)' 
    #ipaPath: '$(SDK)/$(Configuration)/build.sym/$(Configuration)-$(SDK)/output' 

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
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.
Control options

Open source

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

Q & A

Do I need an agent?

You need at least one agent to run your build or release. Get an agent for Linux, macOS, or Windows.

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.

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.