title: Entitlements file was modified during the build, which is not supported
body: <p>I'm getting following error during release build:</p>
  <blockquote>
  <p>error: Entitlements file &quot;projectname.entitlements&quot; was modified during the build, which is not supported. You can disable this error by setting 'CODE_SIGN_ALLOW_ENTITLEMENTS_MODIFICATION' to 'YES', however this may cause the built product's code signature or provisioning profile to contain incorrect entitlements.</p>
  </blockquote>
  <p>I can't find <code>CODE_SIGN_ALLOW_ENTITLEMENTS_MODIFICATION</code> on Google or Apple documentation, any ideas where should I use it?</p>