Mac OS X Lion - 有人在使用 Urban Airship 时收到推送通知吗?或者其他什么?

发布于 2024-12-08 11:45:51 字数 292 浏览 2 评论 0原文

我让它们在我的 iOS 应用程序上完美运行。我的 MacOS 应用程序注册通知正常,但我无法让我正在使用的服务器(Urban Airship)接受我为 MacOS 应用程序生成的 .p12。 (当然,这与我在 iOS 上使用的证书不同,因为捆绑包 ID 完全不同。)错误消息是证书被 Apple 拒绝。

iOS 和 MacOS 应用程序是 Urban Airship 中的两个不同的应用程序。

在我明天花大部分时间讨论证书、配置等之前,我想知道是否有人已经让它工作了。我不认为我的问题出在我的代码中。相反,它是在生成城市飞艇所需的凭证。

I have them working perfection on my iOS app. My MacOS app registers for the notifications OK, but I can't get the server I'm using (Urban Airship) to accept the .p12 I generated for my MacOS app. (It's not the same one I used for iOS, as the bundle IDs are completely different, of course.) The error message is that the certificate was rejected by Apple.

The iOS and MacOS apps are two different apps in Urban Airship.

Before I spend most of tomorrow horsing around with certificates, provisioning, etc., I'd like to know whether anyone has gotten this to work. I don't think my problem is in my code. Rather, it is in generating the credentials needed for Urban Airship.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

成熟稳重的好男人 2024-12-15 11:45:51

我可以确认这确实有效,而且我只花了 2 个小时闲逛。结果我向 Urban Airship 上传了一个从开发证书生成的 .p12 文件,而不是推送证书。当我做得正确时,Urban Airship 很高兴,并且推送确实作为徽章显示在我的 Mac 上。

当然,证书/配置文件/.p12 的内容一团糟,但如果你正确的话,它似乎可以工作。

I can confirm that this works, and I only spent 2 hours horsing around. Turns out I uploaded to Urban Airship a .p12 file generated from the development certificate, not the push certificate. When I did that right, Urban Airship was happy, and the push indeed showed up on my Mac as a badge.

The certificate/provisioning profile/.p12 stuff is a mess, of course, but if you get it right it seems to work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文