原文:
Dear Developer,
We identified one or more issues with a recent delivery for your app, "艺校园". 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 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 8 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 use Xcode or Application Loader to upload a new binary to iTunes Connect.
Best regards,
The App Store Team
亲爱的开发者,
我们确定一个或多个问题最近交付为您的应用程序,“艺校园”。你的交货很成功,但你可能希望在下次交货时改正以下问题:
你的应用程序似乎注册了苹果推送通知服务,但应用程序签名的权限不包括“ap -environment”权限。如果您的应用程序使用Apple Push通知服务,请确保您的应用程序ID能够在供应门户中推送通知,并在您的应用程序与一个包含“ap -environment”权限的分发配置文件签署后重新提交。Xcode 8不会在构建时自动复制配置文件中的ap -environment权限。这种行为是故意的。要使用此权限,可以在项目编辑器的功能窗格中启用推送通知,也可以手动将权限添加到您的权限文件中。有关更多信息,请参见https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1。
在您纠正了这些问题之后,您可以使用Xcode或应用程序加载程序将新二进制文件上传到iTunes Connect。
最好的问候,
App Store的团队
以上是在提交应用之后苹果回复的邮件,这个问题应该怎么解决,应该去除掉哪一个配置或者权限呢?望知道的大神们指点一下。
7***@qq.com (作者)
com.yixiaoyuan.appName
2018-05-22 15:05
菜鸟站战机
回复 7***@qq.com: 请问这个问题解决了吗,我也遇见了这样的问题,想问一下怎么解决的
2021-03-15 18:16