Xcode The 'Apple Push Notification' feature is only available to users enrolled in Apple Develo.
2017-03-27 14:07
393 查看
如果在调试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 出现这样的问题:
经过搜索之后看到下面这篇文章,修改之后就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、重新编译即可
当然,最终的解决方案,还是看看账号是否存在问题,没有远程消息通知的权限。
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...
- The 'Apple Push Notification' feature is only available to users enrolled in Apple Developer Program
- Xcode The ‘in-app purchase’ feature is only available to users enrolled in apple developer program
- Access to the requested object is only available from the local network phpmyadmin
- .NET错误The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework
- The i'm initiative is available only in the US
- Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive
- Access to the requested object is only available from the local network phpmyadmin
- Access to the requested object is only available from the local network phpmyadmin
- Question 12: In C++, which of the following is the best declaration for an overloaded operator[] to allow read-only access (and
- 75.Your test database is configured to run in NOARCHIVELOG mode. One of the data files in the USERS
- vs2005下出现“Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive”的解决方法
- "Failed to update database "c:\inetpub\wwwroot\WebSite1\App_Data\ASPNETDB.MDF" because the database is read-only."的解决办法
- [导入]What is the equivalent to regsvr32 in .NET?
- It is not possible to run two different versions of ASP.NET in the same IIS process:IIS
- use MyButton is simple,only add two file and then add some code just bellow in any dlg src declear the button control and will ok!
- Server Error in '/' Application. Access to the Path Is Denied" error message appears
- Programming Basic--why we need to add ' extern "C" ' in C++ program when calling the function which is complied by C complier?
- Error: The Report Server Web Service is unable to access secure information in the report server.
- how to solve the problem which is the imail software can not send email in wan,but can send email in lan.