如果在调试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. 微计算机应用 官网,按照影响因子,查找与计算机通信与技术专业相关的权威期刊...
  2. python怎么做折线图_python怎么画折线图
  3. 使用libssh2连接到远程服务器
  4. git 代码推送流程_Git 101:一个让您开始推送代码的Git工作流程
  5. 信息学奥赛一本通C++语言——1108: 向量点积计算
  6. python123平台作业答案循环结构棋盘放米_python练习集100题(1-20)
  7. Error response from daemon: Cannot restart container mdet_jc: OCI runtime create failed(fork/exec /)
  8. 【数字信号去噪】基于matlab小波变换地震波去噪【含Matlab源码 1954期】
  9. Mac 安装 Rocketmq
  10. ubuntu18.04查看网卡mac地址
  11. 机器学习(三):如何理解最大似然估计MLE与最大后验估计MAP
  12. html怎么设置img样式,css默认样式 css中img默认样式问题
  13. 都2020年了,别再迷信啤酒与尿布!数据分析的真相在这
  14. 全连接网络:实现第一个全连接网络
  15. 8种减肥法,让你的APP瘦身30%
  16. 什么是VR全景相机?
  17. 二连杆纯连杆动力学建模——LangrageEquation with Matlab
  18. 蛋白质相互作用系列:GN算法
  19. 注册表:HKCR, HKCU, HKLM, HKU, HKCC,注册表中常用的5种数据类型
  20. VMware vRealize Operations Manager Appliance Install

热门文章

  1. 宽带波束形成-----恒定波束宽度设计
  2. transmission简单使用
  3. jodd发送http请求(util)
  4. nordic 52832中添加RTT打印
  5. JS数组合并的7种常见方法
  6. 第七讲:4.智能物联网开关——角度倾斜报警实验例程
  7. 电商大数据日志收集系统之EFK
  8. 【Pandas入门教程】如何重塑表格布局
  9. 【1053】最大数输出
  10. SSH命令行使用方法