# How to share an iOS ipa file for installation over the air with custom domain server set up.

To share an iOS IPA file for installation over the air with a custom domain server set up, we first need to prepare the build.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686722814223/56b1b612-e4ca-4b4c-bbff-8eef8e95cea5.png align="center")

* Open the &lt;YourProjectName&gt;.xcworkspace file on Xcode
    
* Make sure You select the Files icon in the left section and the Project is selected.
    
* Make Necessary changes in Version and Build number only if necessary.
    
* Change the device to `Any iOS Device (Arm 64)`
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686722857899/cc7beee7-f889-462e-ae0f-20ad9f01ce76.png align="center")

* In the Top Menu select `Product` and select `Clean Build Folder,` Wait for it to show the message clean finished.
    
* In the same menu click `Archive` and then wait for this to finish might take some time. Once completed the Organizer window will open.
    

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686723309205/7a6c9354-3e32-4d53-9c77-373a7138ec7a.png align="center")

In that select the build you just created and click the Distribute App button.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686723476739/2d6d263c-a0fc-476e-ab0c-91b87732c2e3.png align="center")

Select Ad Hoc and click on Next

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686723490372/dc58d017-0028-4197-97d7-3437d436dfc4.png align="center")

Check `Include manifest for over-the-air installation` and click on Next

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686724098260/421a3f1a-6076-4d5b-a7aa-d72b68eea892.png align="center")

Fill in the link for the `.ipa` file where you will be hosting it.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686723500073/e537f244-d9a6-472d-93e3-855963423cad.png align="center")

Choose Signing and Proceed

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686723511251/22f9fd59-969e-4b3a-a58d-d27751c7b45b.png align="center")

Now Click export and choose a location where you wish to save the folder. This contains `manifest.plist` and `Wordrobe.ipa` files

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686723720791/71b7d763-30a2-4f81-bd31-76474208f429.png align="center")

Now in your server, in that location create an index file which contains a button on click opens the link

```xml
<a href="itms-services://?action=download-manifest&url=https://dl.vengalath.com/dglb/june23/9/manifest.plist" title="Install iOS app">
```

Which is `itms-services://?action=download-manifest&url=<link_to_your_.plist_file>`

Currently the folder `dl.vengalath.com/dglb/june23/9/` contains

* manifest.plist
    
* index.html
    
* wordrobe3.0.11.ipa
    

Share the link with internal testers and they will be able to install the app. **The client device or tester device UUID should be added to the trusted device or device list on the Apple** [**app store**](https://developer.apple.com/account/resources/devices/list) **only then they will be able to install the application. And the Developer mode should be turned on in that device.**

In my case, the testing device was already listed there since the device was logged in with an email of an internal tester.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1686724848556/553f4516-af3d-472a-8819-2b26ae378e6a.png align="center")

Now when you open the [link](https://dl.vengalath.com/dglb/june23/9/index.html) and click the Install App icon you should be able to test the app.

---

[Cover Image by storyset](https://www.freepik.com/free-vector/mobile-testing-concept-illustration_7230644.htm#query=iOS%20app%20testing&position=0&from_view=search&track=ais) on Freepik
