GCM certificate configuration not working or iOS

2019-01-24 06:39发布

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.

8条回答
放荡不羁爱自由
2楼-- · 2019-01-24 07:43

if you sure you set the right bundle id You can solve it by:-

1-Export only private key as p12.

2-Export only CERT as p12.

3-Export CERT with private key as p12.

and try one by one to solve this issue

查看更多
做自己的国王
3楼-- · 2019-01-24 07:45

I had the same problem but for different reason. It turns out that the .p12 file has something wrong. If I export .p12 file from Keychain Access by selecting both certificate and key and export 2 items together, it doesn't work. I need to export the certificate and key separately and merge them later. Use terminal to merge two files:

cat cert.p12 key.p12 > cert_merged.p12
查看更多
登录 后发表回答