简体   繁体   English

推送通知在iOS 5.0.1上不起作用

[英]Push notifications doesn't work on iOS 5.0.1

Push notifications doesn't work on iOS 5.0.1. 推送通知在iOS 5.0.1上不起作用。 I have a development SSL certificate for the push notifications on my server. 我在服务器上具有用于推送通知的开发SSL证书。 Do i need a distribution certificate for push notification to work on the builds signed with an distribution adhoc provisioning profile? 我是否需要分发证书来进行推送通知,才能在使用分发临时配置文件签名的构建上工作? They work fine when i test the app on my iPod which has the development provisioning profile. 当我在具有开发配置文件的iPod上测试该应用程序时,它们可以正常工作。 I hope i am able to explain my problem :( 我希望我能解释我的问题:(

Yes, you need to use a distribution certificate for ad-hoc builds and appstore builds. 是的,您需要对临时构建和应用商店构建使用分发证书。 The distribution certificate has to be associated with the production push certificate for the right app id. 分发证书必须与正确的应用程序ID的生产推送证书相关联。

I found that this guide was a huge help in getting started http://code.google.com/p/apns-php/wiki/CertificateCreation 我发现该指南对入门http://code.google.com/p/apns-php/wiki/CertificateCreation具有很大的帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM