Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 "未找到应用程序的“aps-environment”的授

简介:

2014-11-20 12:34:35.252 JPushDemo[307:27958] Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 "未找到应用程序的“aps-environment”的授权字符串" UserInfo=0x14d65220 {NSLocalizedDescription=未找到应用程序的“aps-environment”的授权字符串}

2014-11-20 12:34:45.405 JPushDemo[307:28001] Not get deviceToken yet. Maybe: your certificate not configured APNs? or current network is not so good so APNs registration failed?  or there is no APNs register code? Please refer to JPush docs.


这是使用极光推送的时候,遇到的问题。

这里问题出现的原因是缺少了profile,

下面是创建推送证书的步骤:

1、创建一个支持推送功能的App IDs

2、创建一个certificates,使用步骤1创建的app ids

3、创建profile,其中使用步骤1创建的app ids




目录
相关文章
|
8月前
|
缓存 PHP
Composer 报错 Error while processing content unencoding: Unknown failure within ...
Composer 报错 Error while processing content unencoding: Unknown failure within ...
129 0
|
Java
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
888 0
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
|
3月前
|
机器学习/深度学习 Java Android开发
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
记录一个Flutter运行的异常FAILURE: Build failed with an exception. What went wrong: A problem occurred config
46 0
|
6月前
|
人工智能 自然语言处理 小程序
cloud function service error code -501000, error message 找不到对应的FunctionName.; at cloud.callFunction
cloud function service error code -501000, error message 找不到对应的FunctionName.; at cloud.callFunction
43 0
处理SAP gateway service使用过程中遇到的400 error - Malformed URI literal syntax
Created by Jerry Wang on Nov 18, 2014 通过Active Source找到抛error message的代码的具体位置:
347 0
处理SAP gateway service使用过程中遇到的400 error - Malformed URI literal syntax
How to resolve ASSERTION_FAILED error when you register the odata service expose
How to resolve ASSERTION_FAILED error when you register the odata service expose
130 0
How to resolve ASSERTION_FAILED error when you register the odata service expose
|
Android开发 Spring
An internal error occurred during: "Building UI model". com/google/common/base/Function
An internal error occurred during: "Building UI model". com/google/common/base/FunctionEclipse Neon.2 Release (4.6.2) 安装了 STS(Spring Tool Suite) 后,创建项目时遇到些问题。
2725 0