ionic-frameworkxcode10code-signing-certificatebuild-settingscode-signing-entitlements

The executable was signed with invalid entitlements - 0xe8008016


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.


Solution

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

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