Entitlements don't match Provisioning Profile (0xE8008016)

I had this same problem and none of the solutions I found on stack overflow, or github worked for me.

Here's my solution:

  1. Select your project in the Project navigator enter image description here

  2. Select the "General" tab.

  3. To the left of the "General" tab, select your target to the left; (this should show a dropdown with a list of targets)
  4. Below your current target you should see an item {your project}Tests; select that.
    1. Check the signing properties in the general tab and make sure they are valid.

This was the problem for me. Hope it helps.


Xcode 9 GM. Error appears if manual signing turned on.

Turn on automatic code signing. Turn off automatic code signing.