推送通知在 Apple Beta 测试 (TestFlight) 中不起作用 [英] Push notifications don't work in Apple Beta Testing (TestFlight)

查看:168
本文介绍了推送通知在 Apple Beta 测试 (TestFlight) 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

推送通知与开发配置文件配合良好,但当我尝试将应用程序放入 Beta 测试程序 (TestFlight) 时,它们却没有.

Push notifications worked fine with a Development provisioning profile, but once I tried putting the app on the Beta testing programme (TestFlight), they don't.

在切换到生产配置文件时,我尝试遵循所有必需的步骤,但它仍然不起作用.这是我所拥有的.

I tried following all the required steps when switching to a Production profile, but it still doesn't work. Here's what I have.

在会员中心:

  • iOS 分发类型的证书.
  • 应用 ID.命名(不是通配符).为开发和分发启用推送通知 - 绿灯 - 生成并上传所有 SSL 证书.
  • iOS 分发配置文件,使用上述证书和应用 ID,并在已启用的服务中列出推送通知.

在 XCode 中.目标 > 构建设置 > 代码签名:

In XCode. Target > Build Settings > Code Signing:

  • 配置文件 - iOS 分发,与会员中心相同.
  • 代码签名身份(调试和发布)- iPhone 分发.

我是否遗漏了一些(不那么)明显的东西?任何帮助将不胜感激.

Am I missing something (not so) obvious? Any help would be greatly appreciated.

推荐答案

碰巧,我未能在我的问题中提供完整的上下文.我使用 Parse.com 来处理我的后端以及推送通知.所以我缺少的是 Parse.com 上的生产证书,而不仅仅是开发证书.所以,如果其他人在使用 Parse 并遇到类似的问题,我希望这会有所帮助.

As it happens, I failed to provide full context in my question. I use Parse.com to handle my backend as well as push notifications. So what I was missing was a production certificate on Parse.com, not just a development one. So, if anyone else is using Parse and ran into a similar problem, I hope this is helpful.

这篇关于推送通知在 Apple Beta 测试 (TestFlight) 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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