title: The executable was signed with invalid entitlements - 0xe8008016
body: <p>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:</p>
  
  <p>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).</p>
  
  <p>I have tried everything I found online</p>
  
  <p>1.adding capabilities,  </p>
  
  <p>2.changing build settings,</p>
  
  <p>3.config.xml.</p>