Skip to main content

(iOS) Deploy to Visual Studio App Center

Description

Build and distribute your app to testers via AppCenter.

Prerequisites

  • An existing Visual Studio App Center project where your app is registered.

  • Adding the API token as a Secret your Bitrise project with the name APPCENTER_API_TOKEN.

  • You have code signing set up. See iOS code signing for more details.

Instructions

  1. Add the Xcode Archive & Export for iOS Step. Set the input variables:

    • Project path: by default $BITRISE_PROJECT_PATH.

    • Scheme: by default $BITRISE_SCHEME.

    • Distribution methoddevelopmentad-hoc or enterprise.

  2. Add the AppCenter iOS Deploy Step and set the following inputs:

    • API Token$APPCENTER_API_TOKEN.

    • Owner name: for example, my-company.

    • App name: for example, my-app.

      Use the App Center CLI to get the app name since it might not be the same as the one you can see on the Visual Studio App Center website.

    Check out other options in the Step documentation or in the Workflow Editor.

bitrise.yml

   - xcode-archive@4:
        inputs:
        - project_path: "$BITRISE_PROJECT_PATH"
        - scheme: "$BITRISE_SCHEME"
        - automatic_code_signing: apple-id
        - distribution_method: development
    - appcenter-deploy-ios@2:
        inputs:
        - owner_name: my-company
        - app_name: my-app
        - api_token: "$APPCENTER_API_TOKEN"