title: Submit an OSX App with helper App in its bundle
body: <p>I'm really going mad with this problem! I have an app that contains a simple Helper app which manages the login item for the Main app. </p>
  
  <p>When I try to submit the app I get errors related to the provisioning profile and the entitlements. I'm sure that the problem is related with the Helper app because before than I added it the submission worked with no problem. </p>
  
  <p>At the moment the helper app is code signed and is sandboxed as the main app. </p>
  
  <p>The errors are :</p>
  
  <ul>
  <li><p>Invalid provisioning profile. The provisioning profile included in the bundle is invalid</p></li>
  <li><p>Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the one that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile 'com.apple.application-identifier'  in <strong>'myapp.app/Contents/Library/LoginItems/helper.app'</strong></p></li>
  <li><p>Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the one that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile 'com.apple.application-identifier'  in 'myapp.app/Contents/MacOS/myapp'</p></li>
  </ul>