Xcode : The file “XXX.entitlements” couldn’t be opened because there is no such file : <p>Cause my old machine was damaged so I copied the project to another machine and build&amp;run it but xcode return error : </p>

<blockquote>
  <p>warning: Falling back to contents of entitlements file
  "XXX.entitlements" because it was modified during the build
  process. Modifying the entitlements file during the build is
  unsupported.error: The file “XXX.entitlements” couldn’t be opened
  because there is no such file.</p>
</blockquote>

<p>Does anyone have any suggestions? </p>
