最近打包上傳是遇到一個問題:
描述:
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 theLocal and Push Notification Programming Guidefor 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.
失蹤的推送通知的權利。你的應用程序似乎包括API用來注冊蘋果推送通知服務,但應用程序簽名的權利不包括“aps環境”的權利。如果你的應用程序使用了蘋果推送通知服務,確保您的應用程序ID是支持推送通知在配置門戶,並重新提交你的應用程序與簽約後一個分布配置的簡介,包括“aps環境”的權利。看到“配置和發展”,在當地和推送通知編程指南更多信息。如果你的應用程序不使用蘋果推送通知服務,沒有行動是必需的。你可以刪除這個API。
如果你想更新你的這個應用程序,你可以拒絕這個二進制的二進制細節頁面在iTunes的連接。請注意,你將把你的拒絕二進制程序的評審隊列和審查過程將重新開始從一開始當你提交你的二進制。
根源是 " App 不需要推送, 但創建的 App ID 有推送, 且無推送證書", 忽略這個警告即可, 不影響審核, 但影響推送.