Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在为我的应用程序实施推送通知。我已经使用开发人员临时配置文件成功实现了 PNS,并且能够接收通知。但是当我通过分发临时配置文件来实现它并在设备中添加 ipa 文件时,它会请求许可,但是当发送通知时,它不会在设备上接收。
你知道问题是什么吗?
1) 要在开发人员证书上发送 pns,您必须在沙箱上,当您想要在分发证书上发送 pns 时,您必须在沙箱上关闭。
2) 在创建 ipa 文件时检查您的代码签名是否使用正确的分发证书签名。
3)检查您的分发证书是否具有临时性。
4)检查您的设备是否已注册您的证书。!
我希望这能帮到您。!!
可能是您忘记从“推送链接”中删除“沙盒”