Anyone else having problems installing iPhone Enterprise apps on released IOS 5?

David Baltozer picture David Baltozer · Oct 19, 2011 · Viewed 21.2k times · Source

Anyone having problems deploying Enterprise apps on iPhone/iPads running the released version of iOS 5 using the OTA ("over the air") methodology?

During the installation process, we get the alert box: "the app could not be installed at this time". Tapping the Retry button does nothing. In some cases, repeated tapping of the Retry button eventually results in a gray, empty launch icon being left on the home screen. No app installed. No other errors.

Anyone else seeing this or have a resolution?

The below description is a bit involved, but please bear with me as it may help others who run into the situation. I will post the resolution if get a resolution from Apple. So far, no joy there.

Our app refuses to install OTA on iOS 5. This same app WILL install on iPhone/iPad devices running iOS 4.x.x AND the same app will install on iOS 5 devices physically connected to a desktop machine using the iTunes app.

The Apple Developer forums under the IOS 5 Beta category complained about the problem but no indication of resolution as of last week just before the official release of iOS 5.

Cookies are set to be accepted. Bowser cache and history cleared. Using mobile safari originally installed with original iOS version 4.x.x.

  • System hardware and operating system configuration iPad 2, iPhone 4 or any iPhone device running iOS 5 RELEASED version.

  • Browser and version Mobile safari that is installed with iOS 4 on ipad2. Don't know if mobile safari upgrades with ios 5 upgrade.

Using a corporate wifi network. Yes, we are behind a firewall and use a proxy server. Since iOS4 devices install without problems, I don't think installation being blocked by the proxy or firewall.

Enterprise app built with Xcode 4 and ios5 sdk provided with it. Built to be backward compatible with iOS 4.0. Distribution provisioning profile is correct as we have been using it for several weeks.

This app installs properly on iOS 4 devices both over the air and via iTunes application method. This app installs properly on ios5 devices through the physical connection with iTunes application on the Mac desktop.

Steps to reproduce:

User types in the URL in mobile safari on iPhone/iPad running ios5. The resulting webpage shows the download app link. User taps on the link and is asked if they want to install the app. User taps the yes, install button. App proceeds to install. A gray launch icon shows up on the home screen with the progress bar empty at the bottom of the icon. Message below the icon indicates "loading". Seconds later, user gets the "cannot download app at this time" error message as seen in screen shot attached.

Tapping the retry button results in the same action just described. Tapping done results in the download stopping. If you tap retry several times, user sometimes is left with the gray empty launch icon, which will not launch and cannot be deleted.

Note: In the apple developer forums, under the iOS 5 beta category, people are describing the exact same problem with no resolution.

Answer

naderf picture naderf · Nov 3, 2011

Had the same problem, and was able to resolve it. However, the error noted is not specific to a single cause that handles every case... some detailed investigation needs to occur.

Your best bet is to connect the device to your Mac, and using the Organizer of xCode view the console logs while you are attempting to do a wireless deployment. There will be some useful information available -- please post the logs.

For my case -- the icon files were missing from the build, as a result of moving from xCode3 to xCode4 and also, the distribution plist was referencing an image that returned a 404. Both were logged in the console, but not very clearly.

Also, as a sanity check, manually verify the URL to your IPA file also.