title: Missing Push Notification Entitlement warning
body: <p>We have created an App ID, distribution certificate and provisioning profile. Push Notifications were not initially enabled.</p>
  <p>We now need to implement Push Notifications in the app.</p>
  <p>We have enable Push Notifications in the App D, check the provisioning profile, the provisioning profile was invalid, updated it, and downloaded the latest provisioning profile to use it for next time.</p>
  <p>We then integrate the APIs for Push Notifications via APNS in our code.</p>
  <p>After uploading the app in iTunesConnect, we get the following email from Apple:</p>
  <blockquote>
  <p>Dear developer,</p>
  <p>We have discovered one or more issues with your recent delivery for &quot;Swanvi&quot;. 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 appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the &quot;aps-environment&quot; entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the &quot;aps-environment&quot; entitlement. See &quot;Provisioning and Development&quot; 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>
  </blockquote>
  <p>We have re-checked the App ID. Push Notifications are enabled for development and production.</p>
  <p>In the Provisioning Profile, the Push Notifications option is shown.</p>
  <p>Why are we getting this warning via email?</p>