title: Xcode 8 "the aps-environment entitlement is missing from the app's signature" on submit
body: <p>I've got an app that we've submitted dozends of versions to in the last 6 months and we do use APNS. I got the following email from Apple after upgrading to Xcode 8</p>
  
  <blockquote>
    <p>Dear developer,</p>
    
    <p>We have discovered one or more issues with your recent delivery for
    APP_NAME. Your delivery was
    successful, but you may wish to correct the following issues in your
    next delivery:</p>
    
    <p>Missing Push Notification Entitlement - Your app includes an API for
    Apple's Push Notification service, but the aps-environment entitlement
    is missing from the app's signature. To resolve this, make sure your
    App ID is enabled for push notification in the Provisioning Portal.
    Then, sign your app with a distribution provisioning profile that
    includes the aps-environment entitlement. This will create the correct
    signature, and you can resubmit your app. See "Provisioning and
    Development" in the Local and Push Notification Programming Guide for
    more information. If your app does not use the Apple Push Notification
    service, no action is required. You may remove the API from future
    submissions to stop this warning. If you use a third-party framework,
    you may need to contact the developer for information on removing the
    API.</p>
    
    <p>After you’ve corrected the issues, you can use Xcode or Application
    Loader to upload a new binary to iTunes Connect.</p>
    
    <p>Regards,</p>
    
    <p>The App Store team</p>
  </blockquote>
  
  <p>What is weird is I went to <em>developer.apple.com</em> -> <em>Certificates, Identifiers &amp; Profiles</em> and my AppId does have Push Notifications enabled still. I'm not doing anything different then I've ever done on it so am curious if the Xcode 8 update broke something. Any ideas? </p>
  
  <p>BTW: The link they put for the Push Notification Programming Guide was broken in the email, so that's not a good sign.</p>