开发者

How do I debug production push notifications using Xcode?

开发者 https://www.devze.com 2022-12-25 23:32 出处:网络
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

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 product开发者_C百科ion messages on the device using Xcode?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消