Ioni c Applow Capactor, предупреждение об уведомлении firebase, ITMS-90078: Отсутствует Pu sh Право на уведомление Требуется совет - PullRequest
0 голосов
/ 25 мая 2020

Я недавно начал использовать Ioni c Capacitor. Я успешно перенес свое уведомление для Android, используя следующий учебник https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase/

Но когда дело доходит до IOS, я получаю следующее предупреждение:

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. 

Я использовал сертификат «Apple Pu sh Notification service SSL (Sandbox & Production)» для моей настройки Firebase.

И в Ioni c Appflow я также добавил новый профиль обеспечения App Store.

Нужно ли мне делать что-нибудь еще?

1 Ответ

2 голосов
/ 26 мая 2020

Проверьте предварительные условия:

https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase/#prerequisites

В частности, число 3: Убедитесь, что Pu sh Возможности уведомления были включены в вашем приложении в Xcode

Эта ссылка объясняет, как добавить возможности, вам нужно найти Pu sh и дважды щелкнуть по нему или перетащить его на панель подписи и возможностей.

capabilities screen

...