Signing an IPA with multiple code signing identities

During the development of your iOS app you will need multiple types of distributions for different purposes, such as internal testing or deployment to the App Store. The good news is that this does not require setting up two separate workflows on bitrise.io.

In this example we’ll be setting up a Workflow to create two signed .ipa files: one with the development and one with the app-store export method.

  1. Make sure all the necessary code signing files are available for your build.

    For example, if you want to build one IPA for internal testing, and for one ad-hoc testing, you need Developer and Distribution certificates, as well as Development and Ad Hoc provisioning profiles.

  2. Make sure you have the Xcode Archive & Export for iOS Step in your Workflow.

    Please note that this Step must come AFTER either the Certificate and profile installer or the iOS Auto Provisioning Step in your Workflow.

  3. In the list of input variables, navigate to Select method for export and select development from the dropdown menu.

    Signing an .ipa with multiple code signing identities
  4. Add the Export iOS and tvOS Xcode archive Step to your Workflow.

  5. In the list of input variables, navigate to Select method for export and select app-store from the dropdown menu.

    Signing an .ipa with multiple code signing identities

And you’re done! Feel free to add multiple Export iOS and tvOS Xcode archive Steps to your Workflows to create multiple different signed .ipa files if necessary.