将推送通知功能添加到您的 App ID

add the push notification feature to your App ID

我正在使用 ionic 创建一个应用程序。我已经下载了证书,我想使用 xcode 模拟器接收通知,但我没有收到。在 'Capabilities' 部分,在 'push notification' 部分我有错误:

============================================= =====

不要用xcode很好。我希望有人能帮助我。

一句问候

'add the push notification feature to your App ID'

如其所述,转到开发者苹果门户,将推送通知功能添加到您的 App ID 并重新生成您的配置文件。

https://developer.apple.com/account/ios/identifier/bundle

您还必须生成一个 APNs 授权密钥才能发出推送通知,并且您的应用程序中需要一些编码。您可以参考以下教程。

https://www.raywenderlich.com/156966/push-notifications-tutorial-getting-started