ios - react native ,ITMS-90078 : Missing Push Noti

每次我将我的应用发布到应用商店时,我都会收到这封邮件:

Dear Developer,

We identified one or more issues with a recent delivery for your app, "{appName}" {version} ({build}). 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

最佳答案

在signing&capability -> capability -> push notification中添加推送通知能力。确保将它添加到发布和调试选项卡。

关于ios - react native ,ITMS-90078 : Missing Push Notification Entitlement,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69821297/

相关文章:

java - Spring Boot 服务层 : Unit or Integration tests

reactjs - Next.js 应用程序是 SPA 还是单页应用程序?

.net-core - SSE 和 AVX 的 MoveMask 的目的是什么

rust - 编写具有适用于 Vec 和数组 [] 的特征的 Rust 函数

javascript - React Native Button onPress 函数示例

python - 仅当 Pandas 中的所有值均为 0 时,才将 0 替换为选定列的 NaN

f# - Dapper F# - A Parameterless default 一个无参数的默认构

java - 如何在 Java 中为 5x5 二维数组正确使用制表符空间?

sql - 在 exec 中声明变量会改进 SQL 查询计划吗?

reactjs - Stripe react native : Merchant display n