title: invalid entitlements 0xE8008016 when I add the entitlements file
body: <p>I'm trying to do ad hoc distribution.  When I use XCode, the application installs fine on my phone.</p>
  
  <p>In preparation for ad hoc distribution, I created the default entitlements file, unchecked the get-task-allow box, added the entitlements file name to the code signing entitlements line, and tried to install on my phone.</p>
  
  <p>If I have the file in the entitlements in build settings, I get the (dreaded) error</p>
  
  <p>The entitlements specified in your application's Code Signing Entitlements file do not match those specified in your provisioning profile.</p>
  
  <p>(0xE8008016).</p>
  
  <p>This ONLY happens if I have the entitlements file listed in the code signing section.</p>
  
  <p>I created a brand new application to test this, to see what could have gone wrong and this happens with a completely new test application (so it doesn't seem like clean builds, opening and closing XCode, etc will help).</p>
  
  <p>What am I missing?  I've read all of the other times this has occurred and nothing seems to apply. </p>