Missing Push Notification Entitlement 問題

最近打包上傳是遇到一個問題:html

描述:ios

Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature. To resolve this, make sure your App ID is enabled for push notification in the Provisioning Portal. Then, sign your app with a distribution provisioning profile that includes the aps-environment entitlement. This will create the correct signature, and you can resubmit your app. 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.編程

After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to iTunes Connect.app

   失蹤的推送通知的權利。你的應用程序彷佛包括API用來註冊蘋果推送通知服務,但應用程序簽名的權利不包括「aps環境」的權利。若是你的應用程序使用了蘋果推送通知服務,確保您的應用程序ID是支持推送通知在配置門戶,並從新提交你的應用程序與簽約後一個分佈配置的簡介,包括「aps環境」的權利。看到「配置和發展」,在當地和推送通知編程指南更多信息。若是你的應用程序不使用蘋果推送通知服務,沒有行動是必需的。你能夠刪除這個API。ide

    若是你想更新你的這個應用程序,你能夠拒絕這個二進制的二進制細節頁面在iTunes的鏈接。請注意,你將把你的拒絕二進制程序的評審隊列和審查過程將從新開始從一開始當你提交你的二進制。ui

 

根源是 " App 不須要推送, 但建立的 App ID 有推送, 且無推送證書", 忽略這個警告便可, 不影響審覈, 但影響推送.this

相關文章
相關標籤/搜索