原委

最近提交APP到Apple Store审核,结果很快就收到Apple很"贴心"的邮件.原文如下:

Dear developer,

We have discovered one or more issues with your recent delivery for "APP Name". Your delivery was successful, but you may wish to correct the following issues in your next delivery:

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.

Regards,

The App Store team

大意就是你的APP包含APS推送而打包文件中却没有正确配置.可能原因Apple也提供了:
1.Provisioning Portal开发者证书中心的配置文件可能有问题
2.工程配置文件未启用APS服务

解决方法

对应Apple提供的解决方案,首先检查证书中心.你的正式Profile和App ID应当设置正确,如下图所示:

App ID
Profile

如果证书配置正确,再查看项目中的设置选项,是否激活远程推送:

设置为On

激活后项目中会多一个Entitlement文件,如下所示:

Entitlement

检查一切无误后就可以再次打包到App Store了.

最新文章

  1. H5实现摇一摇技术总结
  2. RSpec shared examples with template methods
  3. mysql操作类库--摘抄
  4. breadth-first depth-first best-first
  5. p1349星屑幻想
  6. 浅谈Java抽象类
  7. 查看window系统电脑连接过的wifi密码
  8. kbmmw 5.08 正式发布
  9. shell特殊变量的使用
  10. 【资料搜集】DirectX学习
  11. gitbook的学习
  12. springboot自定义banner生成器
  13. JSP 获取真实IP地址的代码
  14. kernel——make menuconfig的实现原理【转】
  15. c++ 指针访问数组
  16. [Node.js]29. Level 6: Socket.io: Setting up Socket.io server-side & Client socket.io setup
  17. 编程, 细心永远都不嫌多(记录java连接数据库的一个错误)
  18. Jquery实现表单动态加减、ajax表单提交
  19. delphi怎么单步调试
  20. awk十三问-【AWK学习之旅】

热门文章

  1. jQuery前端插件以及图片延迟加载
  2. 查看php 某个服务的进程数
  3. C# http请求 设置代理(标题可以作为搜索关键字)
  4. 【Leetcode_easy】669. Trim a Binary Search Tree
  5. iOS-NSBundle、NSArray、NSDictionay
  6. WordPress简洁的SEO标题、关键词和描述
  7. 修改iPhone5s crash 问题
  8. 给.Net Core添加Swagger实现接口文档自动生成
  9. C语言 班级档案管理系统实现
  10. idea用maven创建web项目(详细)