Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I debug production push notifications using Xcode?

I would like to be able to debug handling of push notifications that originate from the production environment using Xcode. However, it appears that only distribution provisioning profiles can be used with an aps-environment entitlement value of "production". Is there a way to debug production messages on the device using Xcode?

like image 936
richcollins Avatar asked Dec 07 '25 04:12

richcollins


1 Answers

You should use the development push certificates for this. Send your push notifications to ssl://gateway.sandbox.push.apple.com:2195 rather than ssl://gateway.push.apple.com:2195

Refer to Apple Documentation for more info.

like image 62
Mugunth Avatar answered Dec 08 '25 17:12

Mugunth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!