APNS Push Notifications Not Working on Production APNS Push Notifications Not Working on Production xcode xcode

APNS Push Notifications Not Working on Production


The link you mentioned is Sandbox APNS link. Production APNS link is as per Apple documentation is:

You access the production environment at gateway.push.apple.com, outbound TCP port 2195.

Few things to verify:

  1. Your AppId is enabled for Distribution APNS.
  2. You have created Distribution APNS SSL Certificate and is installed on your build machine (for App Store submission).
  3. You have installed the SSL Certificate in step 2 on your server.
  4. You are not by mistake using Development APNS SSL Certificate.


Device token for Production and Sandbox are different for same device.

So try getting device token by using Adhoc or Distribution certificates and use the generated token on production, this worked for me.


I Just came across the same problem. Push Notifications are arriving in Development Mode, not in Production. I also checked everything a few times and was sure that everything was fine.

But it wasn't. It was the very first step in the process. Creating the csr. I was sure I didn't have to create a csr file for Development and Production and ended up using the same csr file for both certificats. Didn't work...

Maybe someone in future does the same mistake und saves some time now.