title: iOS Enterprise Wireless (OTA) distribution Unable to Download Application
body: <p>My company has an enterprise ios account and I am hoping to upload my app on it wirelessly. I have been given distribution certificate and distribution provisioning profile by the client.</p>
  
  <p>I followed this great tutorial here on <a href="http://blog.appliedis.com/2012/10/29/wireless-distribution-of-enterprise-ios-apps/" rel="nofollow noreferrer">blog.appliedis.com</a>, which shows how to wirelessly deploy the app with enterprise account.</p>
  
  <p>The problem is that I get this error when install the app on iPad, right at the end when the install is about to finish.</p>
  
  <blockquote>
    <p>Unable to Download App  MyApp could not be installed at this time</p>
  </blockquote>
  
  <h2>My Steps</h2>
  
  <p>Here are the steps I took:-</p>
  
  <ul>
  <li>Matched the Bundle ID of the app (in plist) with which client's certificate / provisioning profile is created.</li>
  <li>Clicked/installed Distribution Certificate from the client to my KeyChain</li>
  <li>Dragged Provisioning profile (Distribution) from the client into XCode</li>
  <li>In Code Signing, I selected Distribution certificate (sent by the client) in all of them as shown (notice all have same):-</li>
  </ul>
  
  <p><img src="https://i.stack.imgur.com/Jw9Q1.png" alt="Code Signing Identities"></p>
  
  <p>and for Provisioning Profiles, I selected distribution Provisioning profile sent by the client as follows (notice both are same):- </p>
  
  <p><img src="https://i.stack.imgur.com/sNGen.png" alt="Provisioning profile"></p>
  
  <ul>
  <li>Xcode > Product > Archive > Save For Enterprise Deployment</li>
  <li>Specified the title, URL for IPA on my server.</li>
  <li>Hosted the .ipa, .plist (Both xcode generated) on my Linux server. </li>
  <li>Created a link as follows:- https://www.myurl.com/myapps/MyApp.plist">Click to Download</li>
  <li>When clicked, app starts but slaps the error when app downloading is in the mid way.</li>
  </ul>
  
  <h2>Additional Info:-</h2>
  
  <ul>
  <li>The reason why we opted for iOS Enterprise account is that we don't have to enter UDIDs. So the iPad in which this app is being installed doesn't have its UDID in the client's account.</li>
  </ul>
  
  <h2>Below is my Console Log (Just in case)</h2>
  
  <pre><code>Aug 19 22:09:30 My-iPad wifid[15] &lt;Notice&gt;: WiFi:[430193370.378140]: Foreground Network Application exited.
  Aug 19 22:09:30 My-iPad wifid[15] &lt;Notice&gt;: WiFi:[430193370.378722]: BG Application: Not Present, BG Daemon: Present. Daemons: SiriViewService networkd itunesstored apsd assistantd sharingd 
  Aug 19 22:09:30 My-iPad itunesstored[90] &lt;Warning&gt;: LaunchServices: installing placeholder for com.theclientname.app
  Aug 19 22:09:30 My-iPad installd[63] &lt;Notice&gt;: 0x315000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-4665319901594503043.app" requested by itunesstored
  Aug 19 22:09:30 My-iPad installd[63] &lt;Notice&gt;: 0x315000 MobileInstallationInstall_Server: Installing app com.theclientname.app
  Aug 19 22:09:30 My-iPad installd[63] &lt;Notice&gt;: 0x315000 install_application: Installing placeholder
  Aug 19 22:09:30 My-iPad installd[63] &lt;Notice&gt;: 0x315000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.05s; LS Sync: 0.00s; Overall: 0.06s
  Aug 19 22:09:31 My-iPad itunesstored[90] &lt;Warning&gt;: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.theclientname.app (Placeholder) withPhase:0
  Aug 19 22:09:31 My-iPad lsd[73] &lt;Warning&gt;: LaunchServices: Updating installPhase for parent &lt;NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000&gt; to 0
  Aug 19 22:10:12 My-iPad SpringBoard[33] &lt;Warning&gt;: Killing com.theclientname.app for app installation
  Aug 19 22:10:12 My-iPad itunesstored[90] &lt;Warning&gt;: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.theclientname.app (Placeholder)
  Aug 19 22:10:12 My-iPad itunesstored[90] &lt;Warning&gt;: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.theclientname.app (Placeholder) withPhase:1
  Aug 19 22:10:12 My-iPad lsd[73] &lt;Warning&gt;: LaunchServices: Updating installPhase for parent &lt;NSProgress: phase=Loading; state=Active; fractionCompleted=0.590000&gt; to 1
  Aug 19 22:10:12 My-iPad installd[63] &lt;Notice&gt;: 0x315000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-4665319901594503043/-8050886506109721064" requested by itunesstored
  Aug 19 22:10:17 My-iPad wifid[15] &lt;Notice&gt;: WiFi:[430193417.818493]: Client itunesstored set type to normal application
  Aug 19 22:10:17 My-iPad wifid[15] &lt;Notice&gt;: WiFi:[430193417.819443]: BG Application: Not Present, BG Daemon: Present. Daemons: SiriViewService networkd apsd assistantd sharingd 
  Aug 19 22:10:17 My-iPad installd[63] &lt;Notice&gt;: 0x315000 MobileInstallationInstall_Server: Installing app com.theclientname.app
  Aug 19 22:10:17 My-iPad installd[63] &lt;Error&gt;: profile not valid: 0xe8008012
  Aug 19 22:10:17 My-iPad installd[63] &lt;Error&gt;: 0x315000 install_embedded_profile: Could not install embedded profile: 0xe8008012
  Aug 19 22:10:19 My-iPad installd[63] &lt;Error&gt;: 0x315000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.vSfPbR/foo_extracted/Payload/APPNAME.app/APPNAME: 0xe8008015
  Aug 19 22:10:19 My-iPad installd[63] &lt;Error&gt;: 0x315000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.vSfPbR/foo_extracted/Payload/APPNAME.app
  Aug 19 22:10:19 My-iPad installd[63] &lt;Error&gt;: 0x315000 install_application: Could not preflight application install
  Aug 19 22:10:19 My-iPad itunesstored[90] &lt;Error&gt;: 0x1ac1000 MobileInstallationInstallForLaunchServices: failed with -1
  Aug 19 22:10:19 My-iPad itunesstored[90] &lt;Warning&gt;: ERROR: MobileInstallationInstallForLaunchServices returned nil
  Aug 19 22:10:19 My-iPad lsd[73] &lt;Warning&gt;: LaunchServices: installation failed for app com.theclientname.app
  Aug 19 22:10:19 My-iPad itunesstored[90] &lt;Warning&gt;: LaunchServices: installPhaseFinishedForProgress: com.theclientname.app.Installing - &lt;NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000&gt; called, removing progress from cache
  Aug 19 22:10:19 My-iPad lsd[73] &lt;Warning&gt;: LaunchServices: installation failed for app com.theclientname.app
  Aug 19 22:10:19 My-iPad itunesstored[90] &lt;Warning&gt;: LaunchServices: installPhaseFinishedForProgress: com.theclientname.app.Loading - &lt;NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000&gt; called, removing progress from cache
  Aug 19 22:10:19 My-iPad installd[63] &lt;Error&gt;: 0x315000 handle_install_for_ls: API failed
  Aug 19 22:10:21 My-iPad assistantd[36] &lt;Notice&gt;: connection 11 total: 1, connected: 0, added new subflow [cid=1, state=Waiting, ifindex=2]
  Aug 19 22:10:21 My-iPad assistantd[36] &lt;Notice&gt;: connection 11 total: 1, connected: 1, new connected subflow [cid=1, state=Connected, ifindex=2, preferred, mp_capable]
  </code></pre>