Xcode推送通知:APNS服务器用于生产模式 [英] Xcode Push Notification: APNS server for production mode

查看:173
本文介绍了Xcode推送通知:APNS服务器用于生产模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过推送通知实现我的第一个应用程序.我已经完成了 Ray Wanderlich教程 一切正常.

I'm realizing my first app with push notification. I've done all the debugging following the Ray Wanderlich Tutorial and everything works.

现在我要继续提交,我想知道我必须为生产模式而不是

Now that I'm about to proceed with the submission I would like to know what parameters I have to insert for the "live" server in production mode instead of

gateway.sandbox.push.apple.com 2195

希望清楚

推荐答案

我认为端口是相同的,只是主机是不同的,它是gateway.push.apple.com.

I think the port is the same, only the host is different, it's gateway.push.apple.com.

生产环境的二进制接口可通过gateway.push.apple.com端口2195获得;开发环境的二进制接口可通过gateway.sandbox.push.apple.com端口2195获得.

The binary interface of the production environment is available through gateway.push.apple.com, port 2195; the binary interface of the development environment is available through gateway.sandbox.push.apple.com, port 2195.

来源

这篇关于Xcode推送通知:APNS服务器用于生产模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆