首页 > 解决方案 > 推送通知权利 - 将应用程序上传到应用程序商店时出现问题

问题描述

提交我的应用程序后,我收到以下邮件:

App Store Connect

Dear Developer,

We identified one or more issues with a recent delivery for your app, "Zapit" 1.0.0 (1). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

ITMS-90078: Missing Push Notification Entitlement - Your app appears 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. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.

After you’ve corrected the issues, you can upload a new binary to App Store Connect.

Best regards,

The App Store Team

我从未启用推送通知,并且在https://developer.apple.com/中未启用

在此处输入图像描述

所以不知道如何解决。

这是什么意思app signature's entitlements do not include the 'aps-environment' entitlement.?以及如何包含它?

我在哪里可以禁用 Apple 推送通知服务?

我会阻止我的应用程序被批准,还是我可以忽略它?

更多信息:

我刚看到在Certificates, Identifiers & Profiles/Generate a Provisioning ProfilePush NotificationEnabled Capabilities

我删除了Generate a Provisioning Profile并创建了一个新的 在此处输入图像描述

我认为这是因为在这里选择了第一个选项 在此处输入图像描述

所以我试着和第二个一起去,现在我得到了Profile doesn't include the selected signing certificate.

在此处输入图像描述

如何在配置文件中包含选定的签名证书?

标签: iosapp-store

解决方案


推荐阅读