title: iOS 8.1.3 - Enterprise Distribution - Application is missing the application-identifier entitlement
body: <p>I'm having so much problems with Enterpsie Distribution on iOS 8.1.3.
  I managed to fix MOST of my installations which were giving this error:</p>
  
  <pre><code>Ignore manifest download, already have bundleID
  </code></pre>
  
  <p>with this answer: <a href="https://stackoverflow.com/a/25948839/517688">https://stackoverflow.com/a/25948839/517688</a></p>
  
  <p>Which basically tells you to fake the bundleID on the server manifest.plist.</p>
  
  <p>But on some of my test devices I'm getting a new error after the change: </p>
  
  <pre><code>Error Domain=MIInstallerErrorDomain Code=63 "Application is missing the application-identifier entitlement."
  </code></pre>
  
  <p>And I can't seem to find a solution for this one. </p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>I tried adding this to the .entitlements file:</p>
  
  <pre><code>&lt;key&gt;application-identifier&lt;/key&gt;
  &lt;string&gt;com.domain.appname&lt;/string&gt;
  </code></pre>
  
  <p>but now I'm getting this error when trying to Archive the app for distribution:</p>
  
  <pre><code>None of the valid provisioning profiles allowed the specified entitlements: application-identifier, aps-environment.
  </code></pre>