Akanksha Akanksha - 3 months ago 14
iOS Question

GCM certificate configuration not working or iOS

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.

Answer

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)

enter image description here

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

enter image description here

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

enter image description here

Comments