当应用程序 ID 未配置推送时,为什么分发配置文件说它已启用推送?

Why does distribution profile say its enabled for push when the app id does not have push configured?

我的app id没有配置推送:

但是分发配置文件 (ad-hoc) 表示推送已启用:

如果我删除配置文件并创建一个新配置文件,它仍然显示推送已启用。为什么?

Distribution Profile 中显示的只是将您 "included" 中的所有 "Application Services" 拉入您的 AppId <- 表示您将在创建它时使用。但是,在您创建证书并在应用程序中启用该功能之前,推送通知等服务将无法使用。在您设置好所有内容之前可能发生的最糟糕的事情是登录 Xcode 说 "Provisioning Profile includes Push Notifications entitlement but application is not configured..."