I am getting the \'dreaded\' error The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning pr
Happened to me on Xcode 8, it was partially caused by the new Provisioning Profile
build setting, as in this Xcode version there are two entries for provisioning profile:
My fault was that I updated only the first one, and the deprecated entry was still pointing to an invalid provisioning profile. Changing both to the same value solved the issue (clearing the deprecated entry should also have the same effect).