如果在调试APP的时候出现这样的提示

The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program. Please visit
https://developer.apple.com/programs/ to enroll.

代表您当前的APP使用了推送通知功能,但开发证书的账号没有加入苹果开发者计划(就是没付钱),所以不能成功,解决办法只有换个已付费的APP开发者账号了

一个带有远程通知的项目用其他的开发者账号真机运行Xcode 出现这样的问题:

The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program...
  • 1

经过搜索之后看到下面这篇文章,修改之后就OK了。


转自:http://blog.csdn.net/hxmcnu/article/details/50188765

和同事协作开发ios项目,在同事添加了 apple push apn 证书及远程消息提醒代码后,代码同步到另一个账户时提示开发账号没有远程消息提醒权限,需重新注册,但账号已为开发者账号,xcode7.1.1中的Capabilities选项卡中又没有apple push 选项开关,导致无法进行真机测试,解决方案如下:

1、去掉代码中的消息提醒部分

2、在projectName.xcodeproj文件上右键“显示包内容”,用文本编辑器打开“project.pbxproj”文件

3、查找:

com.apple.Push = { 
enabled = 1; 
}; 
修改为:

com.apple.Push = { 
enabled = 0; 
};

4、重新编译即可

当然,最终的解决方案,还是看看账号是否存在问题,没有远程消息通知的权限。

Xcode The 'Apple Push Notification' feature is only available to users enrolled in Apple Develo.相关推荐

  1. Xcode The 'Apple Push Notification' feature is only available to users enrolled in Apple Develo...

    一个带有远程通知的项目用其他的开发者账号真机运行Xcode 出现这样的问题: The 'Apple Push Notification' feature is only available to us ...

  2. ×××送通知服务教程 Apple Push Notification Services Tutorial

    本文译自http://www.raywenderlich.com/.原文由iOS教程团队 Matthijs Hollemans 撰写,经原网站管理员授权本博翻译. 在iOS系统,考虑到手机电池电量,应 ...

  3. Apple Push Notification Service(苹果推送服务)

    https://developer.apple.com/library/IOS/documentation/NetworkingInternet/Conceptual/RemoteNotificati ...

  4. 怎样编写Apple Push Notification服务器

    http://www.iphone-geek.cn/%E7%BC%96%E7%A8%8B/%E6%80%8E%E6%A0%B7%E7%BC%96%E5%86%99apple-push-notifica ...

  5. APNS(Apple Push Notification services)

    苹果的推送服务APNs基本原理简单来说就是苹果利用自己专门的推送服务器(APNs)接收来自我们自己应用服务器的需要被推送的信息,然后推送到指定的iOS设备上,然后由设备通知到我们的应用程序,设备以通知 ...

  6. [转]宝文!Apple Push Notification Service (APNS)原理与实现方案

    原理 简单的说,app要单独实现消息动态更新,一种是轮询,这对用户来说会带来额外的流量.另一种方案是push,app client和server直接保持一个长连接,有新的消息时server push给 ...

  7. IOS提交审核 错误Missing Push Notification Entitlement

    Xcode上传IPA被退回的错误: Missing Push Notification Entitlement - Your app appears to register with the Appl ...

  8. 为Apple Push开发的PHP PEAR 包:Services_Apple_PushNotification

    Apple Push Notification Service:通过苹果服务器向app用户推送消息,无需启动app. 苹果官方文档:http://developer.apple.com/library ...

  9. 推送技术 Push Notification

    为什么80%的码农都做不了架构师?>>>    1.BB,Nokia,Palm都先后支持了Push,目前流行的Push方式有三种. (1)短信触发:2G时代长时间的数据连接会影响电话 ...

最新文章

  1. html制作虚拟人物,一种虚拟人物角色直播系统的制作方法
  2. 逻辑地址、线性地址、物理地址和虚拟地址初步认识
  3. 高通平台中gpio简单操作和调试
  4. wampserver php扩展openssl 不可用_PHP基础及WAMP集成基础
  5. 硬件创新需要去理解的点(精炼总结)
  6. LA2218半平面交
  7. jackson json的使用
  8. 基于SSM的手机商城
  9. Notepad++ 6.9 官方中文版
  10. 中国石油焦市场供需态势及投资潜力预测报告2021年版
  11. dedecms pm.php,dedecms /member/pm.php SQL Injection Vul
  12. 单链表的创建(头插法尾插法),插入,删除
  13. pc服务器是微型计算机吗,pc和主机的区别是什么?
  14. java集合类set初解
  15. springboot中使用Mybatis_plus
  16. 96分布式电商项目 - 项目部署
  17. 人工智能几行代码实现换脸
  18. 算法:Smith数问题
  19. Perl Unicode全攻略
  20. java poi读取word 2003, 2007文档

热门文章

  1. 宽带波束形成 恒定束宽波束形成 学习笔记
  2. 国外问卷调查一个月能有多大的收益呢?20w+吗?
  3. Properties 文件中字符串加了引号
  4. 模拟退火算法(Simulated Annealing,SA)的全面讲解及python实现
  5. uvm基础(2)TLM通信,看这一篇就够了
  6. ZYNQ 的学习方法
  7. Protobuf是什么
  8. 1024凑数篇之程序员职业生涯问答
  9. 超级简单五子棋小游戏(含代码)
  10. 【网络工程师】<软考中级>局域网与城域网