gpt4 book ai didi

ios - Xcode 8 "the aps-environment entitlement is missing from the app' s signature"on submit

转载 作者:IT王子 更新时间:2023-10-29 04:56:01 24 4
gpt4 key购买 nike

我有一个应用程序,我们在过去 6 个月内提交了数十个版本,我们确实使用 APNS。升级到 Xcode 8 后,我从 Apple 收到了以下电子邮件

Dear developer,

We have discovered one or more issues with your recent delivery for APP_NAME. Your delivery was successful, but you may wish to correct the following issues in your next delivery:

Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature. To resolve this, make sure your App ID is enabled for push notification in the Provisioning Portal. Then, sign your app with a distribution provisioning profile that includes the aps-environment entitlement. This will create the correct signature, and you can resubmit your app. 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.

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.

Regards,

The App Store team

奇怪的是我去了 developer.apple.com -> Certificates, Identifiers & Profiles 并且我的 AppId 仍然启用了推送通知。我没有做任何不同的事情,所以我很好奇 Xcode 8 更新是否破坏了某些东西。有任何想法吗?

顺便说一句:他们为 Push Notification Programming Guide 提供的链接在电子邮件中被破坏了,所以这不是一个好兆头。

最佳答案

其实很简单。由于某种原因,它在 Xcode 8 上被禁用,但转到 Targets -> Capabilities 并验证 Push Notifications 在该 View 上是否正确。对我来说,它有一个我必须点击的“Fix Me”,瞧。

关于ios - Xcode 8 "the aps-environment entitlement is missing from the app' s signature"on submit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39554177/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com