[英]“Fix Issue” under Capabilities invalidates my provisioning profiles. And push not working otherwise
My iOS push notification stopped working so when I went to my member center I regenerated my provisioning profile for development and distribution and they became active. 我的iOS推送通知停止工作,因此当我去会员中心时,我重新生成了配置文件以进行开发和分发,这些配置文件变为活动状态。 Still no push notifications were showing up on my app.
仍然没有推送通知显示在我的应用程序上。 So when I went to the
Capabilities
tab in XCode I saw that the Add the "Push Notifications" entitlement to your App ID
因此,当我转到XCode中的“
Capabilities
选项卡时,我看到Add the "Push Notifications" entitlement to your App ID
So clicking this doesn't help it just invalidates my provisioning profile. 因此,单击此按钮无济于事,只会使我的配置文件无效。 And when I re generate and re download them then choose them this warning comes back and still no push notifications.
当我重新生成并重新下载它们,然后选择它们时,此警告又回来了,仍然没有推送通知。
Check if you app's Bundle ID is same as in the certificates. 检查您应用程序的捆绑ID是否与证书中的相同。
If nothing went well try removing all the certificates from the keychain access and provisioning profiles from iPhone Configuration Utilities and re-installing them. 如果没有顺利进行,请尝试从钥匙串访问中删除所有证书,并从iPhone配置实用程序中配置配置文件,然后重新安装它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.