IOS enterprise OTA distribution problems

deploymentios

I'm trying to deploy an app that I built OTA. These are the steps I went through to create the ipa:

  • Generate Certificate Signing Request
  • Create distribution .mobileprovision
  • Xcode > Product > Archive > Save For Enterprise Deployment
  • Specified the right title, URL (fully qualified domain), large / small app icons
  • Host the .mobileprovision, .ipa, .plist (xcode generated) on an IIS. Configured IIS MIME TYPES to application/octet-stream for .mobilerpovision, .ipa and text/xml for .plist.
  • Tested this out on a laptop and verified all the URLs are valid.
  • Installed Provisioning Profile OTA on the iPad.
  • Clicking on the download link with the right format (itms-services://?action=download-manifest&url=$URL).
  • iPad returns a generic "Could not connect" error.

I've tried to install the same app manually on the iPad via iTunes and it works fine. So at this point, I don't even know what else I can try. I've tried and removed entitlements.plist after realizing that Xcode does this automatically.

Any help is much appreicated!

Thanks,
Teja.

Best Answer

I had the same problem trying to deploy enterprise deployment signed OTA Apps with IIS 7.5. The following solution worked for me:

Change the mime types:

.plist : application/xml
.ipa : application/x-plist

Set IIS Anonymous Authentication Credentials to the Application Pool Identity.

Related Topic