title: Ad hoc distribution: failed to install app
body: <p>I'm developing an ios app (only for iphone) and trying to have other people test it.  I have no problem installing the app on my own device through Ad hoc distribution. When I tried installing on another person's device, it always failed with the message "xxxxx could not be installed at this time". I'm using xcode 5. </p>
  
  <p>Here are the steps that I followed: </p>
  
  <ol>
  <li>Add the device's UDID to the existing Ad hoc provisioning profile in the developer portal</li>
  <li>Download that provisioning profile and drag that to the xcode organizer</li>
  <li>Under code signing->provisioning profile->release, choose the Ad hoc provisioning profile. Under code signing identity->release, choose the distribution certificate from the Ad hoc profile. I set the provisioning profile (debug) to none and set the code signing identity(debug) to 'don't code sign'. </li>
  <li>Build the app and create an archive. </li>
  <li>Click the Distribute button in Organizer. Choose "Save for Enterprise or Ad Hoc deployment" and then select the Ad hoc provisioning profile. </li>
  <li>Click export and check "save for enterprise distribution". Fill in the application url and title.   </li>
  <li><p>Upload the ipa and plist file to a server. Create an index page which contains a link to the plist file. The link looks like this: </p>
  
  <pre><code> &lt;a href="itms-services://?action=download-manifest&amp;url=http://mydomainname/apps/myappname.plist"&gt;Install Application&lt;/a&gt;
  </code></pre></li>
  <li><p>Send the url of the index page to the tester. </p></li>
  </ol>
  
  <p>Did I miss anything? I tried deleting all the provisioning profiles on my phone and then had no problem installing the app by clicking the "Install Application" link. One weird thing that I noticed was that the status of the ad hoc provisioning profile installed on the other person's iphone was "Valid signing identity not found", as well as the team shown as "unknown".  I saw somebody mentioned "Code signing entitlements".  Does that matter if I leave that empty? </p>