Missing Push Notification Entitlement解决方法

原委

最近提交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了.

原文地址:https://www.cnblogs.com/Free-Thinker/p/11022467.html

时间: 2024-10-31 09:57:52

Missing Push Notification Entitlement解决方法的相关文章

"Missing Push Notification Entitlement"警告-----以及解决方法

最近开发的cordova应用,要做ios的适配,并且发布版本,但是有一次在发测试版本的时候,突然收到一封邮件警告,原文如下: 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

IOS 提交审核,遇到Missing Push Notification Entitlement 问题。

貌似不影响提交........还是有人提交成了. 昨天晚上提交软件审核,遇到了Missing Push Notification Entitlement 的问题. 问题起因:这个版本我添加了PUSH推送功能,然后上传软件后,就提示Missing Push Notification Entitlement. 解决办法:我重新生成了一下Distribution 的provisioning 证书,然后重新提交了一下就OK了. 问题原因:我以前上传了一个版本,没有PUSH功能,第二个版本添加PUSH后,

IOS 提交审核,Missing Push Notification Entitlement

参考文章 http://stackoverflow.com/questions/14807129/missing-push-notification-entitlement/

Multiple markers at this line - Missing semicolon时的解决方法

Myeclipse的web项目中的js文件报Multiple markers at this line - Missing semicolon时的解决方法 MyEclipse的web项目中的js文件报Multiple markers at this line - Missing semicolon时,是由于还没有告诉myeclipse去验证它.解决方法,选中js文件,右键Myeclipse--ManaValidation--ExcludeResource--(选中全部或者报错的那个js)--点击

xcode工程编译错误:missing required architecture i386 解决方法

可能原因一:项目内保存了.framework文件,在复制分发到不同计算机的时候可能会引发该错误 解决方法一:来到Targets->Build Settings->Framework Search Paths,将其内容删除.让xcode不管项目目录下的.framework文件,而是去包含本机的.当然你也可以手动删除它们. 解决方法二:这个是在stack overflow上看到的: I had this same problem, and the solution turned out to be

"CSRF token missing or incorrect."的解决方法.

现象: Forbidden (403)CSRF verification failed. Request aborted.HelpReason given for failure:CSRF token missing or incorrect. In general, this can occur when there is a genuine Cross Site Request Forgery, or when Django's CSRF mechanism has not been use

UITableViewCell点击不能push解决方法

一般情况下不能push是因为当前控制器没有导航控制器,造成不能push的情况. 解决方法如下: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [tableView deselectRowAtIndexPath:indexPath animated:YES]; NSLog(@"点击left-%d",(int)indexPath.row); NSLo

Nexus 5更新 Android5.0 失败解决方法

Android 5.0最终推出了正式版,今天也及时刷到了Android5.0 (LRX21O),官方链接:https://developers.google.com/android/nexus/images 镜像下载地址:https://dl.google.com/dl/android/aosp/hammerhead-lrx21o-factory-01315e08.tgz.MD5:761667f1ddaf4e38d4792136df4ab927.SHA-1:01315e08c7f282452b5

iOS8 PUSH解决方法

本文转载至 http://blog.csdn.net/pjk1129/article/details/39548523 - (void)registerForRemoteNotificationTypes:(UIRemoteNotificationType)types NS_DEPRECATED_IOS(3_0, 8_0, "Please use registerForRemoteNotifications and registerUserNotificationSettings: instea