【问题标题】:Unable to get configuration file for implementing Push Notification using GCM in iOS无法获取在 iOS 中使用 GCM 实现推送通知的配置文件
【发布时间】:2016-09-08 10:33:06
【问题描述】:

我反复收到错误:-“证书中的 Bundle ID 与您输入的 Bundle ID 不匹配。”

我浏览了以下链接:- https://developers.google.com/cloud-messaging/ios/certs#create_the_ssl_certificate

还使用以下方法验证了我的捆绑包 ID:- openssl pkcs12 -info -in mycert.p12 -passin pass:MyCertPassPhrase

我是从以下链接获得的:-Get bundle id from p12/pem file

但即使我的捆绑包 id 匹配,仍然会出现相同的错误。请提出解决方案或替代方案来完成相同的操作。

如果需要更多信息,请告诉我。

【问题讨论】:

  • 我也有同样的问题。

标签: ios objective-c swift google-cloud-messaging apple-push-notifications


【解决方案1】:

我将证书和密钥一起导出到 p12(应该这样做)。签名身份存在一些问题,因此在尝试了 7 到 8 次之后,做同样的事情就像一种魅力。

【讨论】:

    【解决方案2】:

    在创建“CertificateSigningRequest”证书时将“CA 电子邮件地址”留空。这解决了我的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-10-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-05
      相关资源
      最近更新 更多