Azure Pipelines | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015
# Xamarin.iOS # Build an iOS app with Xamarin on macOS - task: XamariniOS@2 inputs: #solutionFile: '**/*.sln' #configuration: 'Release' #clean: false # Optional #packageApp: true #buildForSimulator: false # Optional #runNugetRestore: false #args: # Optional #workingDirectory: # Optional #mdtoolFile: # Optional #signingIdentity: # Optional #signingProvisioningProfileID: # Optional
|Solution||(Required) Relative path from the repository root of the Xamarin.iOS solution or csproj project to build. May contain wildcards.|
|Configuration||(Required) Standard configurations are Ad-Hoc, AppStore, Debug, Release.|
|Clean||(Optional) Run a clean build (/t:clean) prior to the build.|
|Create app package||(Required) Indicates whether an IPA should be generated as a part of the build.|
|Build for iOS Simulator||(Optional) Optionally build for the iOS Simulator instead of physical iOS devices.|
|Run NuGet restore||(Required) Optionally run |
|Arguments||(Optional) Additional command line arguments that should be used to build.|
|Working directory||(Optional) Working directory in which builds will run. When empty, the root of the repository is used.|
|Build tool path||(Optional) Optionally supply the full path to MSBuild (the Visual Studio for Mac build tool). When empty, the default MSBuild path is used.|
|Signing identity||(Optional) Optionally override the signing identity that will be used to sign the build. If nothing is entered, the setting in the project will be used.|
|Provisioning profile UUID||(Optional) Optional UUID of an installed provisioning profile to be used for this build.|
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.
I'm having problems. How can I troubleshoot them?
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.