App Store upload rejected by push entitlements problem

浪子不回头ぞ 提交于 2019-12-11 06:14:38

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/56578904/app-store-upload-rejected-by-push-entitlements-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!