How do I install an Ad Hoc Distribution ZIP file?

What is Ad Hoc Distribution?

An ad hoc distribution allows developers to give an application directly to a user without the user having to obtain it through Apple’s app store.

We sometimes give ad hoc distributions to users before the application has even gone through the Apple review process. This is how developers like us distribute iPhone applications to beta testers as well as getting applications to customers who want an update urgently before the update has passed the Apple approval process.

What You’ll Need

Before beginning the installation process you’ll need:

  • A ZIP file provided by us (usually AppName.app.zip) which contains the application and the .mobileprovision file for the application (usually Ad_Hoc_Distribution_Profile.mobileprovision).
  • Your Device: the iPhone or iPod Touch whose UDID you emailed us previously (instructions here).
  • The computer you normally use to synce your device and that has iTunes installed.

Installing the Application

  1. Extract the contents of the ZIP file to a convenient location, such as your Desktop.If you’re using Windows, right-click on the ZIP file and select Extract to AppName.app\ (in our example, we’re installing Reach Accounting). Step through the wizard and accept the defaults by clicking Next. WINDOWS VISTA USERS: The built-in “Extract All…” command corrupts the application so that it cannot be installed. You should try using a different ZIP program like WinZip or WinRar to extract the ZIP file.
    Windows Extract All Screenshot
    The contents of the zip folder are then extracted to a folder on your Desktop. The folder will be called AppName.app.
    iPhone ad hoc distribution unzipped
  2. Open the AppName.app folder. You will see a .mobileprovision file (usually AdHoc_Distribution_Profile.mobileprovision) and a folder (usually called AppName.app).
  3. Drag-and-drop the .mobileprovision file onto Library, Applications in iTunes.On the Mac, you can just drag it to the iTunes icon in your dock.
    Windows Add Mobile Provision File Screenshot
  4. Drag-and-drop the AppName.app folder onto Library, Applications in iTunes, same as you did with the .mobileprovision file.On the Mac, you can just drag it onto the iTunes icon in the dock.
  5. Verify that the application shows up in Library, Applications. Note that it will have the default Apple icon.
    Windows iTunes Library Applications Screenshot
  6. In iTunes, select your Device under Devices, choose the Application tab, and make sure that the new application is checked.
    Windows iTunes Devices iPhone Applications Screenshot
  7. Sync your Device and the app should now be installed on your device.
  8. Try out the newly-installed app.

Troubleshooting

If you have any problems installing an adhoc distribution, there are a number of things to try.

  1. Reboot your device.
    1. Hold down the power button on your device until the red “Slide to power off” notice appears.
    2. Slide to power off.
    3. Power on again.
  2. If you have an existing version of the application already installed on your device, uninstall it, then try re-installing.
  3. If, during step 2, you didn’t reboot after the uninstall, do so now.
  4. If you previously installed a mobile provisioning file for the same app, remove that mobile provisioning file. Reboot. Then re-install the mobile provisioning file and the app.
  5. If none of the above works and you get an iTunes “Unknown” error message containing ‘0xE’, try the instructions at this Apple knowledgebase link.

If all of the above fails to install the ad hoc distribution properly, please contact us either through our forums or by using the contact form if you are a client of ours. While we would like to help everybody, we can’t guarantee a reply if you aren’t a client of ours.