I'm developing an iOS app for iPhone and iPad. It runs great on the simulators and actual devices. It installs without error using both iTunes and the iPhone Configuration Utility. I cannot, however, seem to get wireless distribution to work properly.
Sanity checks:
- I have an Apple developer license.
- I have a valid developer certificate from the Provisioning Portal.
- I have added my device's UDID in the Provisioning Portal.
- I have created a valid AppID in the Provisioning Portal.
- I have created a distribution provisioning profile. Developer profiles don't seem to work for this.
- I have clicked the proper aforementioned device to be active for the given provisioning profile.
- I have downloaded and installed the certificate and provisioning profile.
- A release build installs perfectly with both iTunes and the iPhone Configuration Utility.
- For wireless distribution, I have followed Apple's instructions: I have proper .ipa, .mobileprovision, and .plist files setup and hosted on a LAMP web server (with the proper MIME types added per Apple's instructions).
- The .plist file is properly formatted.
- The URLs to the .mobileprovision and .plist files are correct.
- The .mobileprovision file downloads and installs properly via an iOS device's Safari browser.
- The iOS device's Safari browser properly processes the .plist file, finds the .ipa file, and prompts for install with a message "[my domain name] would like to install '[my app name]'". I click the "Install" soft button.
- Installation commences with the typical grayed version of the application icon and blue progress bar that proceeds from left to right. The icon's text is at first "Loading", and then changes to "Installing". After several seconds of "Installing", an alert is displayed: "Unable to download '[my app name]'". I am prompted with "Done" and "Retry" soft buttons. "Retry" of course just repeats the process and fails again. "Done" exits installation, and after a moment, the app icon disappears.
Just to be clear, this installs PERFECTLY via iTunes and the iPhone Configuration Utility. I have read countless blogs and articles on how to get this working, but no one seems to have definitive answers. Is there ANYONE that can think of what is going wrong here??? Thanks in advance. Pulling my hair out.