在“步骤"中报告错误:将“推送通知"功能添加到您的App ID中 [英] Report error in Step:Add the Push Notifications feature to your App ID
问题描述
在开发人员网站中,我启用了app ID
的Push Notifications
.
但是在我的项目中,TARGETS
-> Capabilities
-> Push Notifications
->我要打开它,但是过一段时间后,在
But in my project,TARGETS
-> Capabilities
-> Push Notifications
-> I want to open it, but after sometime, there report error
in
步骤:将推送通知"功能添加到您的应用ID
Step:Add the Push Notifications feature to your App ID
我标记的图片:
其他信息是:我使用Xcode 8
,iOS 10
Additional info is: I use Xcode 8
, iOS 10
编辑-1
在我的Signing
中,出现错误:
尝试-1
我已经重新启动了Xcode 8
,但它对我不起作用.
I have restart my Xcode 8
, and it does not work for me.
推荐答案
我认为您已在应用ID中启用了推送通知,但没有为此应用ID创建配置文件,因此Xcode会自动选择配置文件,并且该配置文件不支持推送通知功能,因此请尝试为此应用程序ID创建配置文件并下载它,然后双击它以收听Xcode并尝试重新启动Xcode,希望对您有所帮助.
I think you enabled push notification in app ID but you didn't create provisioning profile for this app ID so Xcode select provisioning profile automatically and that provisioning file not support push notification capability , so try to create provisioning profile for this app ID and download it then double click on it to listen in Xcode try to restart Xcode , hope this help you .
这篇关于在“步骤"中报告错误:将“推送通知"功能添加到您的App ID中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!