我现在正在使用Apple推送通知开发应用程序.
并且就测试而言,它工作正常,但Apple不断向我发送以下消息.
我已经在网上阅读,尽我所能避免这种情况.我的应用程序ID已启用推送通知,重新生成我的配置文件(多次),在Xcode首选项中刷新我的帐户和…. 但无论我做什么,它都会不断涌现.我错过了一些观点吗?或者我应该忽略它?我担心,如果我忽略它,我的应用程序可能会被拒绝.
有类似经历的人吗?
Dear developer,
We have discovered one or more issues with your recent delivery for “TheAppABC”. Your delivery was successful,but you may wish to correct the following issues in your next delivery:
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.
After you’ve corrected the issues,you can use Xcode or Application Loader to upload a new binary to iTunes Connect.*
Regards,
The App Store team
解决方法
当用于供应的AppId未添加推送通知服务时,将显示此消息.
希望您在没有推送服务的情况下创建AppId并使用它创建移动配置,稍后您添加推送服务,忘记使用它重新创建移动设备.你没有提到你的APNS证书.而且你必须做同样的事情,你在分发过程的开发过程中做了…
请点击此链接,希望这有助于: http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
我不认为他们会拒绝该应用程序,但推送服务将无法正常工作……
如果一切都完美添加,它应该看起来像这样:
(编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|