且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

解析中没有已注册的设备(推送通知)

更新时间:2023-02-26 21:27:36

以下是我修复它的方法:

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