解析中没有已注册的设备(推送通知) [英] No Registered devices in parse (Push Notifications)

查看:141
本文介绍了解析中没有已注册的设备(推送通知)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Parse.com进行推送通知时遇到问题。

I am having trouble with push notifications using Parse.com.

我可以传递一条消息进行解析,但是当我尝试从解析时发送消息时我就是告诉我有没有注册设备,实际上,我在开发中心有几个!

I can pass a message to parse, however when I try to send a message from parse I am told that I have "No Registered Devices" when in actual fact, I have several in the Dev center!

看起来代码工作正常,但觉得我遗漏了什么!

It seems the code is working fine but feel I am missing something!

任何想法?

推荐答案

以下是我修复它的方法:

Here is how I fixed it:


  1. 有时,您的XCode没有所有配置文件。

转到 XCode>同步配置文件偏好>帐户>您的帐户并选择应用程序ID 并按刷新按钮(参见下图)。

Sync the profiles by going to XCode > Preferences > Accounts > Your Account and Select Application Id and press refresh button (See picture below).


  1. 确保您的配置文件是准确的如下图所示:

目标>构建设置>代码签名 AND 项目>构建设置>代码签名 (两者都有)

具体而言,您需要为代码签名标识指定开发人员配置文件。您的应用配置资料配置资料

Specifically you need to specify Developer Profile for Code Signing Identity. And your App provisioning profile for Provisioning Profile

这篇关于解析中没有已注册的设备(推送通知)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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