# Deploying an iOS app for external testing

Before deploying your app to the App Store, you might want to release it to external testers who can test it on their devices outside the development environment. If you do not want to use Testflight, then you can do this by exporting an IPA file with the `ad-hoc` export method.

:::important[Using Testflight]

If you wish to invite external testers using Testflight, you CANNOT use the `ad-hoc` export method. You need an IPA with the `app-store` export method.

:::

1. Generate an IPA file on your own machine at least once.
1. [Upload all necessary code signing files](/bitrise-ci/code-signing/ios-code-signing/creating-a-signed-ipa-for-xcode-projects) to Bitrise.

   For the `ad-hoc` export method, you need a Distribution type certificate and an Ad Hoc type provisioning profile. Only upload a provisioning profile if you use manual provisioning: [Managing iOS code signing files - manual provisioning](/bitrise-ci/code-signing/ios-code-signing/managing-ios-code-signing-files---manual-provisioning).
1. Make sure the [**Xcode Archive & Export for iOS**](https://github.com/bitrise-steplib/steps-xcode-archive) Step is in your Workflow.
1. Set the **Distribution method** input of the Step to `ad-hoc`.
1. Set the**Automatic code signing method** input to the Apple service connection you want to use for code signing. The available options are:

   - `off` if you don’t do automatic code signing.
   - `api-key` [if you use API key authorization](/bitrise-platform/integrations/apple-services-connection/about-connecting-to-apple-services).
   - `apple-id` [if you use Apple ID authorization](/bitrise-platform/integrations/apple-services-connection/about-connecting-to-apple-services).
1. Make sure you have the [**Deploy to Bitrise.io**](https://github.com/bitrise-steplib/steps-deploy-to-bitrise-io) Step in your Workflow.
1. Start a build.
1. When the build is finished, go to the app’s **Builds** page and click the latest build.
1. Click the **Artifacts** tab to find your IPA file that you can distribute.
