The executable was signed with invalid entitlements - 0xe8008016

Reza Ey picture Reza Ey · Oct 17, 2018 · Viewed 11.9k times · Source

I trying to run my app on a device with xcode, it's an ionic app, with xcode 9, I had no problem but since I have updated to xcode 10 I keep getting this error message every time:

The entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile.(0xE8008016).

I have tried everything I found online

1.adding capabilities,

2.changing build settings,

3.config.xml.

Answer

keith.g picture keith.g · Oct 22, 2018

If you are using Xcode 10 you need to change the build system in Workspace Settings to "Legacy Build System"

  • File >> Workspace Settings..
  • Set build system to "Legacy Build System"

More information can be found here: https://github.com/apache/cordova-ios/issues/407