title: entitlement 'application-identifier' has value not permitted by a provisioning profile - TestFlight
body: <p>I am aware that questions have been asked regarding the following error: <strong>entitlement 'application-identifier' has value not permitted by a provisioning profile</strong>, however, none of the solutions have solved my problem. Here is the situation: I have an app that downloads files, and works great in dev mode. When I TestFlight the app, I get the error below:</p>
  
  <pre><code>entitlement 'application-identifier' has value not permitted by a provisioning profile
  </code></pre>
  
  <p>in my console. Even though this error appears, the application runs properly, <strong>EXCEPT</strong> it won't download anything. All of the other functionality works. After the app is downloaded through TestFlight, if I run it and get the above error, if I kill the app and restart it, I don't get the error and the downloads work fine??</p>
  
  <p>Ok here's what I've tried to do to fix it:</p>
  
  <ol>
  <li><p>I deleted all provisioning profiles on developer.apple and on my machine and recreated them. After re-downloading the new provisioning profiles, I tried again - no luck.</p></li>
  <li><p>Next, I added an Entitlements.plist file with the <code>get-task-allow</code> set to <code>false</code> and set the Entitlements file for Ad Hoc builds. This also did nothing.</p></li>
  </ol>
  
  <p>Does anyone have an idea?</p>
  
  <p><strong>Edit:</strong>
  Additionally, I have made a new version of the app and copied all of the files over under a new app id, made all new provisioning files, and it still didn't work. </p>
  
  <p>The final thing I tried was making a wildcard ad hoc provisioning profile so that it would sign any app, and I still got the same error. </p>
  
  <p>I really need to figure this out...</p>