3

In my project I have three targets - project target, unit test target and UI test target.

While upgrading to Xcode 8 I am facing issue with UI test target with error message:

Provisioning profile doesn't include the get-task-allow entitlement.

The image below shows my problem.

enter image description here

How to workaround this?

However there is a mismatch between that alert and what is there indeed:

enter image description here

P. Pawluś
  • 298
  • 6
  • 17

2 Answers2

1

I had this same issue, the solution was that I included get-task-allow in my entitlements file as well as my provisioning profile. Remove it from the entitlements file to fix this issue.

Gmeister4
  • 754
  • 10
  • 19
0

Do you have any instances of get-task-allow in an entitlements file? If so, try removing it. It will get automatically copied into the app's entitlements when signing is performed.

retainCount
  • 4,478
  • 1
  • 22
  • 14