[英]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. 通过这篇文章,我了解到我需要重新创建配置文件,然后再次提交使用新配置文件辞职的应用程序。
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:
因此,我抓住了机会,做到了,并一路找出答案:
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.