简体   繁体   English

Xcode推送通知问题

[英]Xcode Push Notifications Issue

I'm currently trying to enable my Push Notification on my project but I'm getting this error 我目前正在尝试在项目中启用推送通知,但出现此错误

I went to my app ID and saw that it is enabled as well. 我转到我的应用程序ID,并看到它也已启用。

When I was looking at my certificated, I also saw that I'm getting a "this certificate has an invalid issuer" on my certificated that I created. 在查看证书时,我还看到我在创建的证书上收到“此证书的发行人无效”。 Could that be the main source of the problem? 这可能是问题的主要根源吗?

I would appreciate any insight and thanks in advance! 我将不胜感激,并预先感谢! :) :)

Download this certificate and add inside your keychain 下载此证书并添加到您的钥匙串中

But first close your Xcode because it accessing your certificates thats why and delete all expire or invalid certificate from your keychain and restart your MAC then download this certificate and add into your keychain. 但是,请先关闭Xcode,因为它会访问您的证书,这就是为什么,然后从钥匙串中删除所有过期或无效的证书,然后重新启动MAC,然后下载此证书并添加到您的钥匙串中。

https://developer.apple.com/certificationauthority/AppleWWDRCA.cer https://developer.apple.com/certificationauthority/AppleWWDRCA.cer

I hope it will help you. 希望对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM