1

I am trying to build project and it is building fine. when i try to install it on iPhone it gives the following error.

The executable was signed with invalid entitlements. The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016).

when i checked the entitlements file which is created it had my bundle id repeated twice.

entitlements file

Taj Ahmed
  • 895
  • 11
  • 19

2 Answers2

0

Search Code Signing Entitlements in Build Settings, delete it, clean and build the app again.

Don't forget to re-check your code signing

The executable gets signed with invalid entitlements in Xcode

Community
  • 1
  • 1
Tim007
  • 2,557
  • 1
  • 11
  • 20
0

Taj... Clean your build, go to info.plist remove old bundle identifier key and insert your key as com.companyName.appName only one time and set team name from setting and select profiles.. and make build again...

Shivkant
  • 26
  • 1