ios - 删除推送通知 api?

标签 ios xcode provisioning-profile

是否可以检查应用程序是否使用推送通知 api?我从应用程序中删除了推送通知,但我的应用程序因以下警告而被拒绝:

Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.

据我所知,我应该:

If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning.

是否可以检查 API?

最佳答案

我有一个类似的问题,但在 iOS 上使用 Cordova 应用程序时,忽略警告可能会导致 future 的应用程序在没有任何建议的情况下被拒绝,所以我建议解决它。 This post帮助了我。

希望对你也有帮助。

关于ios - 删除推送通知 api?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25968408/

相关文章:

ios - 运行带有分发配置文件的 xcode 项目

ios - 当新版本的 pod 可用时, `pod update` 会覆盖我的代码更改吗?

ios - iPad2 上的 Unity3d 应用程序需要旧版本。要运行的配置文件

ios - 代码 : Could not launch "APP_X_Y" - 'A' packet returned an error: -1

iOS - 混合两个音频文件

ios - UIViewController 扩展不允许覆盖 Swift 中的 View 相关功能?

ios - 推送通知代码执行(强制退出应用程序)

ios - 构建 iOS 项目得到架构 i386 错误的重复符号

ios - 如何使用 TableView 项目访问 Swift 2 中的 View Controller ?

ios - bundle 标识符不同于供应配置文件。