title: Entitlements are not valid: Error while installing Ad Hoc build on Device
body: <p>I  made an Ad Hoc build for my application. I tried to install it on my device but error message is coming like this: The application XXX is not able to install on the device YYY because entitlements are not valid. I made many builds successfully before this using the same machine. But I don't know what is happening now. I searched for a solution a lot. But everywhere the solution is like this:</p>
  
  <ol>
  <li>restart your iphone and machine</li>
  <li>add Entitlements.plist on code signing entitlements.</li>
  </ol>
  
  <p>I experimented many methods but no hope. Please help if you know a solution for this.</p>