Creating a signed IPA for Xcode projects

You can easily create a signed IPA file for your Xcode project with Bitrise. All you need to do is make sure your code signing files are managed correctly, and then set the relevant inputs of our Xcode Archive & Export for iOS Step.

Upload the distribution AND the development signing certificates

We strongly recommend uploading BOTH the development and distribution signing certificates for your project. Without the different types of certificates, you will not be able to generate different types of signed IPA files.

If you’re all set, proceed to setting up IPA export in your Workflow.

  1. Make sure the necessary code signing files have been collected and uploaded.

  2. Configure how Bitrise should handle your code signing files.

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

  4. Set the Distribution method input of the Step.

    Select export method for Xcode Archive for iOS

    If you use automatic provisioning, make sure it matches the value of the Distribution type input of the relevant iOS Auto Provisioning Step. The options are:

    • auto-detect - Please note that this option is deprecated and will be removed. We do not recommend using it.

    • app-store: Choose this if you want to deploy the app to the App Store. Requires a Distribution certificate and an App Store provisioning profile.

    • ad-hoc: Choose this if you want to deploy the app to ad-hoc testers. Requires a Distribution certificate and an Ad Hoc provisioning profile.

    • enterprise: Choose this if you have an Apple Enterprise account and want to use that to distribute your app.

    • development: Choose this for internal testing. Requires a Developer certificate and a Development provisioning profile.

  5. Save the Workflow, and start a new build.

That’s all. Xcode will automatically select the right signing files based on your project’s Bundle ID and Team ID settings, and the export method you set.

If you want to sign the IPA file with a different team’s code signing files (for example, if you use your company’s code signing for internal builds, but your client’s code signing files for App Store distribution), all you have to do is to set the The Developer Portal team to use for this export option as well (in addition to the Distribution method).