

If you leave it blank, it is the root of the repo. See Apple: Building from the command line with Xcode FAQ. (Optional) Specify additional command-line arguments for this build.
WHAT IS AN XCODE WORKSPACE ARCHIVE
Path to a plist file that configures archive exporting. The 10 digit Team ID from the Apple Developer Portal to use for this export.

app-store, package, ad-hoc, enterprise, development. Method for how Xcode should export the archive. You can specify the export method and Team ID in the task by selecting Specify or provide the export options via a plist file by choosing Plist. The task automatically detects the export method from the archive when the default Auto is selected. Pick a way to pass in Export Options when exporting the archive. Optionally specify the destination for the product exported from the archive. Optionally specify a directory where created archives should be placed. Important: Select only if you are running one agent per user. Select if you want the contents of the provisioning profile file to be removed from the build agent after the build is complete. mobileprovision file that contains the provisioning profile override to be used for this build. Important: Use a secret variable to avoid exposing this value. p12 certificate file that contains a signing certificate to be used for this build. Leave the corresponding fields blank if you do not wish to override default build settings. If the build should use a signing or provisioning method that is different than the default, choose that method here.Ĭhoose File Contents to use a P12 certificate and provisioning profile.Ĭhoose Identifiers to retrieve signing settings from the default Keychain and pre-installed profiles. This is required if you are a member of multiple development teams. (Optional) Specify the 10 digit developer Team ID. Select this if you have an Xcode 8 project setup for Automatic Signing. (Optional) Signing and provisioning options Argument Must be a shared scheme (with shared check box under managed schemes in Xcode selected). (Optional, unless you specify the Workspace Path, described above.) Scheme name in Xcode. Do not specify a value if you are specifying the -target flag in Advanced, Arguments (described below). If you specify a value, you must also specify the Scheme. (Optional) Relative path from repo root to where the xcworkspace folder exists.

Make sure to specify a value (for example, iphonesimulator) on the variables tab. Make sure to specify a value (for example, Release) on the variables tab. For example: clean build would run a clean build. Valid options are build, clean, test, analyze, and archive. Use this task to build an Xcode workspace on macOS.
