沙盒 APNS 环境 & .mobileprovision 文件

发布于 2025-01-05 01:22:47 字数 144 浏览 3 评论 0原文

有人知道 .mobileprovision 文件的详细信息吗?我有一个应用程序想要指向沙箱 APNS 环境,我相信我需要为沙箱环境创建一个 .mobileprovision 文件。所有使用我的发行版版本的设备是否都需要安装一些配置文件才能接收来自沙箱 APNS 环境的推送?

Anyone know the details of .mobileprovision file? I have an app which I want to point to sandbox APNS environment, I believe I need to create a .mobileprovision file for sandbox environment. Do all the devices which will use my distribution build needs to install some provision profile in order to receive the Pushes from sandbox APNS environment?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

征﹌骨岁月お 2025-01-12 01:22:47

您需要为推送服务器提供单独的开发和分发证书,并使用与启用了推送通知的 appID 关联的不同开发和分发证书对应用程序进行签名。

请注意,如果您正在测试(临时),那么您还需要专门用于临时分发的分发证书(您可以从苹果开发人员站点生成此证书)。

最后,本指南帮助我创建了推送服务器所需的证书。

http://code.google.com/p/apns-php/wiki/CertificateCreation

另外,这里是苹果开发者页面,专门讨论了沙箱和推送通知的分发版本所需的不同证书:

https://developer.apple.com/library/ mac/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ProvisioningDevelopment/ProvisioningDevelopment.html

You need to have a separate development and distribution certificate for you push server as well as signing the app with different development and distribution certificates that are associated with an appID that has push notifications enabled.

Note that if you are testing (Ad Hoc) then you also need a distribution certificate specifically for ad hoc distribution (you can generate this from you apple developer site).

Finally, this guide helped me create the certificates I needed for my push server.

http://code.google.com/p/apns-php/wiki/CertificateCreation

Also, here is the apple developer page talking specifically about the different certificates required for sandbox and distribution builds for push notifications:

https://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ProvisioningDevelopment/ProvisioningDevelopment.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文