iOS:缺少推送通知权限

时间:2015-09-12 18:59:10

标签: ios

Apple一直向我发送同样的错误:

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.

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

不使用push:

enter image description here

生成名为Coaster Profile的个人资料

enter image description here

在提交到应用商店时使用该个人资料:

enter image description here

我甚至尝试添加DISABLE_PUSH_NOTIFICATIONS变量:

enter image description here

但没有任何效果。我从来没有使用推送通知。请帮忙!!我正在使用xcode + objective c

0 个答案:

没有答案
相关问题