title: Distribution provisioning profile doesn't include the get-task-allow entitlement
body: <p>In my project I have three targets - project target, unit test target and UI test target.</p>
  
  <p>While upgrading to Xcode 8 I am facing issue with UI test target with error message: </p>
  
  <blockquote>
    <p>Provisioning profile doesn't include the get-task-allow entitlement.</p>
  </blockquote>
  
  <p>The image below shows my problem.</p>
  
  <p><a href="https://i.stack.imgur.com/BvVV5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BvVV5.png" alt="enter image description here"></a></p>
  
  <p><strong>How to workaround this?</strong></p>
  
  <p>However there is a mismatch between that alert and what is there indeed:</p>
  
  <p><a href="https://i.stack.imgur.com/NmHzk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NmHzk.png" alt="enter image description here"></a></p>