Warning: Missing Push Notification Entitlement

Hi all,


Today I received warning from Apple:


Dear developer,


We have discovered one or more issues with your recent delivery for "Probid Direct". Your delivery was successful, but you may wish to correct the following issues in your next delivery:


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 "aps-environment" 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 "aps-environment" entitlement. 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.


But I did check carefully, I didn't use Push API in my app, in AppDelegate, I didn't touch to Push, no register, no remote Receive msg....

So why Apple said that? They scan source code automatically?


Can you help me how to check Push API in my code and remove it, please?


Thanks a lot!

Is this issue resolved? I am using Xcode 10 but am still facing the same issue

Warning: Missing Push Notification Entitlement
 
 
Q