iOS 推送通知 didFailToRegisterForRemoteNotificationsWithError
<p><p>我在 <code>didFailToRegisterForRemoteNotificationsWithError</code> 方法中遇到以下错误?</p>
<pre><code>Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x176e8120 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}
2015-04-16 16:18:15.760 FSE ERROR Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x176e8120 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}.
</code></pre>
<p>如果有人可以帮忙?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>该错误表明您正在使用未设置推送通知权限的签名证书。
首先启用推送通知,然后创建一个新的配置文件。 </p></p>
<p style="font-size: 20px;">关于iOS 推送通知 didFailToRegisterForRemoteNotificationsWithError,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/29672663/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/29672663/
</a>
</p>
页:
[1]