How to solve the "aps environment" right?

Use xcode to package the project and upload it to the App Store. Error prompt: Lack of push notification right - it seems that your app has registered with the Apple push notification service, but the right to sign the app does not include the “aps environment” right. How can I solve this problem?