GCM 证书配置不工作或 iOS

GCM certificate configuration not working or iOS(GCM 证书配置不工作或 iOS)

本文介绍了GCM 证书配置不工作或 iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试配置 GCM 并获取配置文件时,我遇到了一个问题.当我尝试通过 GCM 门户上传生产证书时,它显示证书中的捆绑包 ID 与您输入的捆绑包 ID 不匹配".我已经验证过了.仍然没有喜悦.任何人都可以帮助PLZ.

解决方案

我在 Development 和 Production .p12 上都试过了,都对我有用.

您需要确保从您的 Bundle ID 生成正确的 .cer 证书文件,并且需要确保从您的钥匙串中导出正确的 .p12 文件使用权.您可以在

与您的

如果我在 GCM 门户中没有输入 iOS Bundle ID,它将显示以下错误:

I am facing one issue when I am trying to confiure the GCM and getting configuration file. When I am trying to upload the production certificate over the GCM portal it says "Bundle Id in certificate doesn't match with Bundle Id you entered". I verified already for the same. Still no joy. Anyone help plz.

解决方案

I tried it with both Development and Production .p12, both worked for me.

You need to make sure you generate a correct .cer certificate file from your Bundle ID, and need to make sure you export the correct .p12 file from your Keychain Access. You can view the sample steps in this page.

You need to make sure the iOS Bundle ID you input in the GCM portal. (I use mine com.ziyang.samples.quickstart.gcm)

matches the Bundle ID in your Apple Developer Portal. (I use mine com.ziyang.samples.quickstart.gcm)

If I miss typed the iOS Bundle ID in the GCM portal, it will show the below error:

这篇关于GCM 证书配置不工作或 iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:GCM 证书配置不工作或 iOS