The executable was signed with invalid entitlements - 0xe8008016
It happened to me , because I had uploaded Distribution Provisioning Profile in Signing debug , once I replaced with Development Provisioning Profile all worked well to me .
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