iPhone:在生产许可证推送通知测试 [英] iPhone: Push Notification Testing on Production Certificate

查看:157
本文介绍了iPhone:在生产许可证推送通知测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个快速的问题。我一直在测试开发的推送通知证书我的iPhone应用程序和其一直工作正常。我只是想知道,是否有可能提交我的应用程序的AppStore前试生产证书?我也尝试但是当我使用生产许可证消息不磨磨蹭蹭。苹果是否需要应用在AppStore上,当我使用生产证书?

I have a quick question. I have been testing Development Push Notification Certificate for my iPhone App and its been working fine. I just want to know that is it possible to test Production Certificate before submitting my application to AppStore? I did try but message is not coming along when I use production certificate. Does Apple required application to be in AppStore when I use production certificate?

感谢。

推荐答案

如果您创建一个Ad-hoc配置文件,你会发现它使用的生产许可证,这可能是测试它的最简单的方法。

If you create an Ad-Hoc Profile, you'll find that it uses the production certificate, that's possibly the easiest way of testing it out.

更新:

请参阅the苹果文档这里

有若干步骤此,而是实质上;

There are a number of steps to this but in essence;

1)领队需要创建一个新的发行配置文件。这是通过选择特设而非应用商店创建一个新的配置文件时进行。由您不能使用通配符应用程序ID,此方式需要注意,你需要有一个特定的应用程序ID应用程序,虽然你可能有这样的了。

1) The team leader needs to create a new DISTRIBUTION provisioning profile. This is done by selecting "Ad Hoc" rather than "App Store" when creating a new profile. Note by the way that you can't use a wildcard app id for this, you need to have a specific app id for the application although you may well have this already.

2)设置你的系统,以便建立存档使用新创建的特设配置,设置此功能所需的步骤,以及在线文档,的这里就是一个例子

2) Setup your system so that build for archive uses a newly created Ad Hoc configuration, the steps required for setting this up are well documented online, here is one example.

3)现在,当您分发的.ipa链到你的特设调配配置文件的设备,你会发现,推送通知系统正在使用的生产服务器。

3) Now when you distribute the .ipa to devices linked to your Ad Hoc provisioning profile, you will find that the push notification system is using the production servers.

顺便说一句,我发现testflightapp是管理的特设分布非常有用的构建和虽然我最近才发现它,它救了我小时的时刻,因为我在运行测试版的中间是测试程序。

As an aside, I find that testflightapp is really useful for managing the distribution of Ad Hoc builds and although I've only discovered it recently, it's saving me hours at the moment as I'm in the middle of running a beta test programme.

这篇关于iPhone:在生产许可证推送通知测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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