且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS:生产推送通知,来自APNS服务器的无效令牌

更新时间:2023-02-16 22:11:49

我重新下载推送生产证书并从钥匙串中导出as .p​​12。这似乎解决了这个问题。虽然一个糟糕的私钥给我无效令牌错误,但这似乎很奇怪。

I re-downloaded the push production certificate and exported it from the keychain as .p12. This seems to have solved the problem. It seems strange though that a bad private key was giving me the "Invalid Token" error.