充分利用推送通知错误 [英] Getting an error from push notification
本文介绍了充分利用推送通知错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序,我需要推送通知。我采取从推送通知文档的所有指令。但我从推送通知的错误:
In my app, I need push notifications. I am implementing all the instructions from the push notifications docs. But I got an error from Push Notification:
Fail To Register For Remote Notifications With Error:
Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment'
entitlement string found for application" UserInfo=0x2340a0
{NSLocalizedDescription=no valid 'aps-environment' entitlement string
found for application}
我在做什么错了?
What I am doing wrong?
推荐答案
生成一个新的供应配置文件,启用后推,它会努力!
Generate a new provisioning profile, after you enable Push, and it will work!
这篇关于充分利用推送通知错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文