# Test IPA on real device

### How can I test the IPA file on a real iOS device?

You can preview your iOS app on a real device using TestFlight, Apple's official testing tool. To use TestFlight, you must have an Apple Developer Program account.

{% embed url="<https://scribehow.com/shared/Inviting_Users_in_App_Store_Connect__XJLbLLVtRsOw55ZpWsACyg>" %}

{% hint style="danger" %}
Apple requires an active developer account to test apps on TestFlight. Follow this guide to learn how to create a developer account on Apple.
{% endhint %}

{% content-ref url="/pages/rgn4JWxcGWx9xmtrocXW" %}
[Create Apple developer account](/app/download/ios/create-apple-developer-account.md)
{% endcontent-ref %}

Once your **developer account** is set up, upload the **iOS build** of your app following our step-by-step guide. After uploading, your app will be available in the **TestFlight** module on your **Apple Developer** account.

{% content-ref url="/pages/UZhMkoVAXg9mppACDvfC" %}
[Upload iOS app](/app/upload/ios/upload-ios-app.md)
{% endcontent-ref %}

Here are the steps you can follow to test the app with TestFlight:&#x20;

#### Step 1: Add a new user to your Apple developer account

Follow the steps below to add a new user to your account on the App Store Connect:

* Login to your account on [App Store Connect](https://appstoreconnect.apple.com/).&#x20;
* Click on Users and Access.&#x20;
* Click on the + icon.
* In the popup window, enter the name and email address of the user you wish to invite. Select the Admin role and click Invite.&#x20;

{% hint style="danger" %}
You must add users to your Apple Developer account before inviting them to test your app on TestFlight.
{% endhint %}

#### Step 2: Invite user to test app on TestFlight

An automated email will be sent to the user you’re inviting. Once the invitation is accepted, you can invite the user to test the app on TestFlight. Follow the steps below to learn how to invite a user to test an app on TestFlight:

* Navigate to the Apps screen and again select the app you wish to test.&#x20;
* Click on the TestFlight tab.&#x20;
* Navigate to App Store Connect Users in the left menu on click on the + icon next to internal testers.&#x20;
* Select the user you invited earlier to your developer account.&#x20;
* An invitation to test the app in TestFlight will be sent to the user.&#x20;

#### Step 3: Install TestFlight and test the app

The invited user will receive an email to test the app on TestFlight. TestFlight is essentially an app available on the App Store that you can install on your iOS device. It enables you to test different iOS apps.&#x20;

The following steps explain how an invited user can start using TestFlight to test the iOS app.&#x20;

* The added user will receive an invitation via email.&#x20;
* In the email, the user can click on the Accept invitation button.&#x20;
* Next, the user will be directed to a new page with instructions to test the app on TestFlight. The user can also copy the unique code mentioned here.&#x20;
* The user will next need to download the TestFlight app on their iOS device. When the user installs the app and launches it, they need to click on Redeem and paste the unique code copied earlier.&#x20;
* Next, the user can install the iOS app they wish to test and see how it works on an iOS device.&#x20;

{% hint style="warning" %}
Installing the iOS app on your iOS device is required to test your app before publishing it on the App Store.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmysite.com/app/preview/test-ipa-on-real-device.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
