Repackage apps for specific iOS devices

When working with an iPhone 4 and iPad 2, we recommend that you install the app before running it, as described below:

Create and install the repackaged app:

  1. Repackage the .ipa file on a Mac machine using the MC Enabler. For details, see Package an iOS app manually on a Mac machine.
  2. Copy the repackaged .ipa file to the Mobile Center server or connector machine.
  3. Connect the iOS device to the Mobile Center server or connector machine.
  4. Verify that the iOS device is detected. (The examples below are for a server machine. For a connector machine, replace "server" with "connector".)

    For Linux:

    cd <path to your server installation folder>/server/libimobiledevice/linux-amd64/

    idevice_id –l

    For Windows (from a command line, with default installation):

    cd <path to your server installation folder>\server\libimobiledevice\windows-amd64\

    ./idevice_id.exe –l

  5. Install the .ipa file on the iOS device:

    For Linux:

    ./ideviceinstaller -I <ipaLocation> <ipaName> -u <device UDID>

    For Windows (from a command line):

    ideviceinstaller.exe -I <ipaLocation> <ipaName> -u <device UDID>

  6. On the device, check that the app is installed and that it can be launched.
  7. Open the Mobile Center Lab console and click Upload App. Upload the repackaged app.
  8. Select the iOS device: iPhone 4, iPhone 4s, iPad 2, or iPad mini 1.
  9. Open your testing tool and configure it to work with the Mobile Center server. For example, see Define Mobile Record and Run Settings in the UFT Help Center, for the UFT tool.
  10. In your testing tool (UFT, TruClient, and so forth), select the Restart app option. Make sure to disable the Install app option, so that you do not overwrite the repackaged app.