使用沙箱APNS上即席分布构建适用于iOS [英] Using sandbox APNS on AdHoc Distribution Builds for iOS

查看:483
本文介绍了使用沙箱APNS上即席分布构建适用于iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在读了一堆苹果的文档,以及许多其他的做题,但还没有找到答案这个特定的问题。

I've been reading a bunch of Apple's docs, as well as many other SO questions, but haven't found the answer to this particular question.

我在地方产生的AdHoc分配一个现有的工作流程建立的QA成员和beta测试。现在,我已经添加了推送通知的支持,我想这些通知路径能够被很好地测试。

I have an existing workflow in place for generating AdHoc Distribution builds for QA members and beta testers. Now that I've added support for push notifications, I'd like those notification paths to be able to be tested as well.

我是IM pression的开发人员构建下一个开发配置文件签署,产生的沙箱/开发环境APNS和分发构建,具有发行配置文件签字(不管是注定令牌对于即席分发或AppStore的分布),生成用于生产环境APNS令牌。我相信这可以通过打开不同的文件名为.mobileprovision,并检查 APS-环境进行确认键。

I'm under the impression that Developer builds, signed with a Development provisioning profile, generate tokens that for the sandbox/development APNS environment, and Distribution builds, signed with a Distribution provisioning profile (whether that be destined for AdHoc Distribution OR AppStore Distribution), generate tokens for the production APNS environment. I believe this can be confirmed by opening the different .mobileprovision files, and examining the aps-environment key.

我想知道是否有办法让我的AdHoc分布建立使用沙盒APNS环境,而不是生产APNS环境。

I'd like to know if there's a way to have my AdHoc Distribution builds use the sandbox APNS environment, rather than the production APNS environment.

如果我真的很想QA和beta测试者使用沙箱APNS,我会以某种方式找到一种方法,让他们运行开发版本,而不是分配建立?

If I really wanted QA and beta testers to use sandbox APNS, would I have to somehow find a way to allow them to run development builds, rather than distribution builds?

或者是我的假设的事情工作的方式关闭基地的方式吗? (引用<一个href=\"http://stackoverflow.com/questions/1943722/iphone-apns-device-tokens-in-sandbox-vs-production/2261758#2261758\">this帖子和<一个href=\"http://stackoverflow.com/questions/2625773/why-not-use-development-provisioning-instead-of-ad-hoc\">this帖子)

Or are my assumptions about the way things work way off base? (referenced this post and this post)

推荐答案

我也发现了一些提至即席在APNS环境的背景:

I did found some mention to AdHoc in the context of APNS environments :

请注意:还有就是要推动服务的单独持久连接
  为每个环境。操作系统建立一个持久
  连接发展构建了沙盒环境;特别指定
  配送建立连接到生产环境中。

Note: There is a separate persistent connection to the push service for each environment. The operating system establishes a persistent connection to the sandbox environment for development builds; ad hoc and distribution builds connect to the production environment.

这是一个从技术说明TN2265 。
我想这记确认您不能使用在即席分布沙盘ENV。

It's taken from Technical Note TN2265. I guess this note confirms that you can't use the sandbox env in AdHoc distribution.

这篇关于使用沙箱APNS上即席分布构建适用于iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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