iOS:缺less推送通知权利

苹果一直给我发送同样的错误:

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.

我一直在试图提交我的应用程序的应用程序商店,但它一直被拒绝。 我已经看了所有其他的问题/答案,但我似乎无法让它工作,即使我不断重新生成configuration文件。 我甚至没有使用推送通知。

不使用推送:

在这里输入图像说明

生成我的configuration文件称为过山车configuration文件

在这里输入图像说明

提交到app store时使用该configuration文件:

在这里输入图像说明

我甚至尝试添加DISABLE_PUSH_NOTIFICATIONSvariables:

在这里输入图像说明

但没有任何工作。 我甚至从来没有使用推送通知。 请帮忙!! 我正在使用xcode +目标c