简体   繁体   English

如何重新创建分发配置文件

[英]How to recreate the distribution provisioning profile

After submitting my app to the app store (and later it got approved and released) I got an email stating that : 将我的应用提交到应用商店后(后来获得批准并发布),我收到一封电子邮件,说明:

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 "aps-environment" entitlement... 缺少推送通知权利-您的应用似乎包含用于向Apple推送通知服务注册的API,但是应用签名的权利不包括“ aps-environment”权利。

By this post I understand that I need to recreate the profile, and submit the app again resigned with the new profile. 通过这篇文章,我了解到我需要重新创建配置文件,然后再次提交使用新配置文件辞职的应用程序。

  1. How do i recreate the profile ? 如何重新创建个人资料? by editing it and saving, or by deleting it and creating a new one? 通过编辑并保存,或者删除并创建一个新的?
  2. More importantly - does recreating the profile affect the existing app in the app store? 更重要的是-重新创建配置文件会影响应用商店中的现有应用吗?

Ok, so I was in a hurry to release an update to the app store and couldn't wait for answers. 好的,所以我急于向应用商店发布更新,并且迫不及待地想答案。 So I took the chance, did it, and found out the answers along the way: 因此,我抓住了机会,做到了,并一路找出答案:

  1. In the new provisioning portal, just click edit, and generate (no need any more to change something in order to enable the generate button). 在新的供应门户中,只需单击“编辑”并生成(无需再进行任何更改即可启用“生成”按钮)。
  2. No. 没有。

The above issue is related with push notification. 上述问题与推送通知有关。 So are u using push notification in ur app? 那么您在应用程序中使用推送通知吗?

If not then u must update the provisioning profile by editing the bundle id. 如果不是,那么您必须通过编辑捆绑软件ID来更新配置文件。 In developer account go to app ids and uncheck the option of APN in specific appid. 在开发者帐户中,转到应用程序ID,然后取消选中特定应用程序ID中的APN选项。 Then update the provisioning profile by selecting that bundle id. 然后通过选择该捆绑包ID更新配置文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM