App Store上传被推送权利问题拒绝 [英] App Store upload rejected by push entitlements problem

查看:325
本文介绍了App Store上传被推送权利问题拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在旧的iPhone应用程序中使用XCode进行一些更改。



将其上传到App Store时,我遇到以下问题:



ITMS-90078:缺少推送通知权利-您的应用似乎已在Apple推送通知服务中注册,但应用签名的权利不包括 aps环境权利。应用程序使用Apple Push Notification服务,请确保您的App ID在Provisioning Portal中启用了Push Notification,并在使用包含 aps-environment权利的Distribution Provisioning配置文件对您的应用程序签名后重新提交Xcode不会自动复制在构建时从供应配置文件获得aps-environment权利。此行为是有意的。要使用此权利,请在项目编辑器的功能窗格中启用推送通知,或将权利手动添加到您的权利文件中。



我已经做到了,它说了。我重新生成了所有证书,依此类推,但是并不能解决我的问题。



当我单击修复问题时,它会一次又一次地出现。



无论如何,我将其保存在权利文件中(即使将其更新为生产)





我的证书还可以:





我该怎么办?



非常感谢!

解决方案

最后,我可以解决它:



<我从目标 /构建设置 /登录XCode中删除了所有设置。我不知道它为什么会起作用,可能它包含过去导致该错误的一些设置(请注意,多年未更改)。



尽管我将问题留在这里,希望它可以在将来节省其他人的时间。


I had to make some changes in my old iPhone app in XCode.

When uploading it to the App Store I get the following problem:

"ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file."

I have done it that it said. I regenerated all my certificates and so on, but it does not fix my issue.

When I click Fix issue, it comes again and again.

Anyway, I had it in my entitlements file (it does not help even if I update it to production)

My certs are ok:

What should I do?

Thanks a lot!

解决方案

Finally, I could solve it:

I deleted all settings from Target / Build settings / Signing in XCode. I don't know exactly why it helped, probably it contained some settings from the past (note, it was not changed for years) that lead to this bug.

Although I leave my question here, hopefully it can save others day in the future.

这篇关于App Store上传被推送权利问题拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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