没有有效的“APS-环境”的权利字符串中找到了应用商店的应用 [英] No valid 'aps-environment' entitlement string found for application on app store

查看:307
本文介绍了没有有效的“APS-环境”的权利字符串中找到了应用商店的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我有这个程序叫做滴头,我以前推出一个月左右,然后更新前几天。更新添加推送通知和一些小的调整。我用的发展概况沙盘-APN测试它,事情很好工作。然后我切换事生产,APN,并推到试飞,再完美的东西的工作。有一次,我把更新在市场上并运行它我发现我没有得到服务器上的任何新推的注册。我看了看设备的控制台日志,发现这样的:

So I have this app called Dripper that I put out about a month ago and then an update a couple days ago. The update added push notifications and a few little tweaks. I tested it with the sandbox-apn using the development profile and things worked great. Then I switched things to the production-apn and pushed it to test-flight, again things worked perfectly. Once I put update on the market and ran it I noticed I wasn’t getting any new push registrations on the server. I looked at the console logs for the device and found this:

12月4日17时55分15秒伊那触摸它coffco [1210]:注册为远程通知

  12月4日十七时55分15秒伊那触摸它跳板[52]:发现应用程序的滴头没有有效的APS-环境的权利字符串:(空)。通知将不会被传递。

  12月4日十七时55分15秒伊那触摸它coffco [1210] <警告计算值:失败,错误登记:错误域= NSCocoaErrorDomain code = 3000没有有效的APS-环境权利字符串中找到应用程序的UserInfo = 0x174270900 {NSLocalizedDescription =没有有效的APS-环境发现应用程序的授权字符串}

Dec 4 17:55:15 Ina-touch-it coffco[1210] : Registering for remote notifications
Dec 4 17:55:15 Ina-touch-it SpringBoard[52] : No valid 'aps-environment' entitlement string found for application 'Dripper': (null). Notifications will not be delivered.
Dec 4 17:55:15 Ina-touch-it coffco[1210] <Warning>: Failed to register with error : Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x174270900 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}

我有点困惑,因为我认为生产APN将功能与即席和应用商店构建相同。

I am a bit confused because I thought that the production-apn would function the same between ad-hoc and app store builds.

下面是我的应用程序ID和它的权利 - > http://i.stack.imgur.com/uf4pB.png

Here is my app id and its entitlements -> http://i.stack.imgur.com/uf4pB.png

下面是应用程序商店的供应配置文件 - > http://i.stack.imgur.com/AYOV5。 PNG

Here is the provisioning profile for the apps store -> http://i.stack.imgur.com/AYOV5.png

推荐答案

我解决这个问题是这样的:

I fixed this issue like this :


  • 转至X codepreferences

  • 进入帐户标签

  • 选择我的Apple ID,然后点击查看详细信息

  • 单击箭头的左下角刷新

  • 单击完成

和重试!

来源:

希望它帮助。

这篇关于没有有效的“APS-环境”的权利字符串中找到了应用商店的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆