How to Prepare an IPA for Mobile Testing

If you want to record a test using a virtual device, make sure that that the app was compiled for virtual devices (.app). And vice versa, if you want to record using a physical device, make sure that the app was compiled to work on physical devices (.ipa).

Build .ipa files for Virtual Devices using XCode

To prepare an IPA file for a virtual device:

  1. In Xcode click Product > Clear Build Folder in the menu to ensure the build folder is empty before preparing your app.

  1. In Xcode select an iOS simulator.

  1. In Xcode, click Product > Build in the menu

  1. In Xcode, navigate to Product > Show Build Folder in Finder to open the file folder where the build was created.

  1. In Testim, navigate to the Mobile Apps Library and click the New App button.

  1. Browse for your internal-testing-app.app file on your computer, or drag and drop the file onto the file upload dialog box.

  1. The new app is added to the Mobile Apps Library.

  1. Right click your new app and select Rename Application.

  1. Append the app name with the term "virtual" to indicate this app build is meant for use on virtual devices. Click the OK button.

Build .ipa Files for Physical Devices using Xcode

To prepare an .ipa file for use on a physical device:

  1. In Xcode, select Any iOS Device (arm64).

  1. Click Product > Build For > Running in the menu.

  1. Once the build is complete, click Product > Archive in the menu.

  1. Navigate to the Xcode archive folder. Select your new app build and click the Distribute App button.

  1. Select Ad Hoc and click the Next button.

  1. On the Ad Hoc distribution options page, click the Next button without making any changes.

  1. On the Re-sign page, select Automatically manage signing and click the Next button.

  1. Review the app content and click the Export button and save the IPA file to your computer.

  1. In Testim, navigate to the Mobile Apps Library and click the New App button.

  1. Browse for your IPA file on your computer, or drag and drop the file onto the file upload dialog box.

  1. The new app is added to the Mobile Apps Library.

  1. Right click your new app and select Rename Application.

  1. Append the app name with the term "physical" to indicate this app build is meant for use on virtual devices. Click the OK button.