gpt4 book ai didi

ios - GCM IOS 错误 - 注册到 GCM 失败,错误为 : The operation couldn’t be completed.(com.google.iid 错误 7。)

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:47:33 26 4
gpt4 key购买 nike

我只在第一次打开应用程序时收到此错误

Registration to GCM failed with error: The operation couldn’t be completed. (com.google.iid error 7.)

如果我尝试再次运行该应用程序,我将能够注册并获取 token 并接收推送消息。

我已经在 unable to register (com.google.iid error 1005.) 上尝试过该解决方案

但还是有问题。

知道如何解决这个问题吗?

谢谢

编辑:同样的错误发生在 Quickstart 示例应用上

enter image description here

这是来自 Quickstart 示例应用程序的 xcode 日志

2015-10-14 15:40:51.722 GcmExampleSwift[680:149607] Successfully configured [CloudMessaging].
2015-10-14 15:40:51.723 GcmExampleSwift[680:149607] Failed to configure [].
2015-10-14 15:40:51.723 GcmExampleSwift[680:149607] Subspecs not present, so not configured [Analytics, AdMob, SignIn, AppInvite, Maps].
2015-10-14 15:40:51.723 GcmExampleSwift[680:149607] Subspecs expected to be present [CloudMessaging, Measurement].
2015-10-14 15:40:51.829: GCM | MCS Registration is not ready with auth credentials
Connected to GCM
Registration to GCM failed with error: The operation couldn’t be completed. (com.google.iid error 7.)
Could not connect to GCM: The operation couldn’t be completed. (com.google.gcm error 2001.)

最佳答案

我认为你遇到这个问题是因为我手机上的时间设置在未来,一旦时间设置正确,问题就解决了。

关于ios - GCM IOS 错误 - 注册到 GCM 失败,错误为 : The operation couldn’t be completed.(com.google.iid 错误 7。),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32810718/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com