【问题标题】:Assertion failure in Notification Call通知调用中的断言失败
【发布时间】:2009-08-28 02:10:08
【问题描述】:

当我在 iPhone 上以调试模式向通知服务器注册并寻找一些想法时遇到错误。

我的电话:

[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound)];

它返回:

8 月 27 日星期四 12:27:44 未知 SpringBoard[2866]:* -[SBRemoteNotificationServer registerApplication:forEnvironment:withTypes:] 中的断言失败,/SourceCache/SpringBoard/SpringBoard-919.5/SBRemoteNotificationServer.m:633 Thu Aug 27 12:27:44 unknown SpringBoard[2866] : * 由于未捕获的异常“NSInternalInconsistencyException”而终止应用程序,原因:“未找到用于环境开发的连接”

在阅读了几篇文章时,我尝试了以下方法:

创建了一个新的应用 ID。 重新创建了我的通知证书 重新下载了我的开发资料

清除所有目标 使用新的应用配置和证书重建

有人遇到过这种情况吗?

提前致谢!

罗伯

【问题讨论】:

    标签: iphone


    【解决方案1】:

    您可以在iPhone SDK Push Notification找到答案

    【讨论】:

    • 谢谢,很棒的链接!不幸的是,它没有解决我的问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多