简体   繁体   English

推送通知未在App Store应用程序 - iphone上注册

[英]Push Notifications not registering on App Store application - iphone

We recently launched an update to an iPhone application. 我们最近推出了iPhone应用程序的更新。 While our push notifications were working perfectly in ad-hoc, we've moved to live and they are no longer registering. 虽然我们的推送通知在ad-hoc中完美运行,但我们已经转移到现场,他们不再注册。

Looking at a live device log, we're seeing this: 查看实时设备日志,我们看到了:

"Jun 11 09:40:05 unknown SpringBoard[5791] : No valid 'aps-environment' entitlement string found for application 'App Name': (null). Notifications will not be delivered." “Jun 11 09:40:05未知SpringBoard [5791]:找不到应用程序'App Name'的有效'aps-environment'权利字符串:( null)。通知将不会被传递。”

Now if you check on the internet or other stack-overflow conversations, there is a very common answer to this that the provisioning profile did not have "aps-environment" set as "production" correctly and the profile needs regenerating. 现在,如果您检查互联网或其他堆栈溢出对话,则有一个非常常见的答案,即配置文件没有正确设置为“生产”的“aps-environment”,并且配置文件需要重新生成。 However, this does not appear to be our issue as the binary clearly indicates it is in production aps environment. 但是,这似乎不是我们的问题,因为二进制文件清楚地表明它处于生产环境中。 See details from the App Store Binary Details below: 请参阅下面的App Store二进制详细信息:

App Store二进制详细信息的屏幕截图

So we are a bit lost for what the problem could be. 所以我们对问题可能有点迷茫。 Given this information, as well as numerous checks I have done on my side, the profile and code signing appear to be correct and I can't find any other solutions to this online at the moment. 鉴于此信息,以及我在我身边进行的大量检查,配置文件和代码签名似乎是正确的,我目前无法在线找到任何其他解决方案。

Thanks in advance for your help. 在此先感谢您的帮助。

So this problem worked itself out in the span of 3 hours; 所以这个问题在3个小时内就已经解决了; it must have been a server propagations issue. 它一定是服务器传播问题。

To anyone who might pull their hair out in the future on this one : If your app JUST went live and the notifications aren't registering and you are certain that the aps-environment is set correctly, wait a few hours prior to concluding that the app has an issue. 对于那些可能在未来可能拔掉头发的人 :如果你的应用程序刚刚上线并且通知没有注册并且您确定aps环境设置正确,请在结束之前等待几个小时应用程序有问题。

Our app was launched in the Canadian iTunes Store only and the push notification registration issue resolved itself within a 3 hour period. 我们的应用程序仅在加拿大iTunes Store中启动,推送通知注册问题在3小时内解决。

If anyone in the future can explain why this happens or add more detail to this, I'll gladly accept their answer. 如果将来任何人都可以解释为什么会发生这种情况或者为此添加更多细节,我很乐意接受他们的回答。

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

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