Apple TestFlight上传警告ITMS-90191:缺少"beta-reports-active"权利 [英] Apple TestFlight upload warning ITMS-90191: missing `beta-reports-active` entitlement

查看:86
本文介绍了Apple TestFlight上传警告ITMS-90191:缺少"beta-reports-active"权利的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将构建版本上载到新的Apple拥有的和iTunes Connect集成的TestFlight时,我看到以下日志:

When I upload a build to the new Apple owned and iTunes Connect-integrated TestFlight, I see the following log:

警告ITMS-90191:缺少beta版本的权利.您的应用程序不包含beta报告有效的权利.如果您打算通过TestFlight分发此内部版本以进行Beta测试,请使用新生成的配置文件重新构建此应用."

WARNING ITMS-90191: "Missing beta entitlement. Your app does not include the beta-reports-active entitlement. If you intend to distribute this build via TestFlight for beta testing, please re-build this app with a newly generated provisioning profile."

当我查看iTunes Connect上的版本时,我还会看到以下警告:

When I look at the build on iTunes Connect, I also see the following warning:

要使用TestFlight Beta测试,版本X.Y.Z必须包含正确的Beta授权.有关更多信息,请参见FAQ.

To use TestFlight Beta Testing, build X.Y.Z must contain the correct beta entitlement. For more information, see the FAQ.

链接的常见问题解答指出:

The linked FAQ states:

如果我的预发行版本不包含正确的Beta授权,该怎么办?

要使用TestFlight应用程序测试您的预发行版本,必须使用包含Beta版权利的App Store发行配置文件进行签名.在iOS开发人员中心中生成的新的分发配置"配置文件将自动包含Beta权利.

What should I do if my prerelease build does not contain the correct beta entitlement?

To use the TestFlight app to test your prerelease build, it must be signed with an App Store Distribution Provisioning profile that includes the beta entitlement. New Distribution Provisioning profiles generated in the iOS Developer Center will automatically contain the beta entitlement.

如果您具有在启动TestFlight Beta Testing之前生成的现有分发配置配置文件,则必须重新生成配置文件.

If you have an existing Distribution Provisioning Profile that was generated before the launch of TestFlight Beta Testing, you must regenerate the profile.

问题是我 am 使用了新创建的App Store分发设置配置文件.我是这样创建的:

The problem is that I am using a newly created App Store Distribution Provisioning Profile. I created it like so:

检查下载的配置文件的来源时,我看到:

When I inspect the source of the downloaded Provisioning Profile, I see:

<key>Entitlements</key>
<dict>
    // ...
    <key>aps-environment</key>
    <string>production</string>
    <key>beta-reports-active</key>
    <true/>
    // ...

因此,已为production设置了配置文件",并且确实包含了beta-reports-active权利.

So the Provisioning Profile is set for production and does contain the beta-reports-active entitlement.

但是,当此版本上传到TestFlight时,iTunes Connect仍会抱怨.

However, iTunes Connect continues to complain when this build is uploaded to TestFlight.

有关如何解决此问题的任何想法?这是Apple的错误吗?

Any ideas on how to fix this issue? Is this an Apple bug?

rdar://20128048

rdar://20128048

推荐答案

首先,请确保您使用的是 App Store发行设置配置文件.这可能是您用来签署Apple TestFlight之前版本的临时发行配置"中的不同配置文件.

First, be sure that you are using an App Store Distribution Provisioning Profile. This is likely a different provisioning profile from the Ad Hoc Distribution Provisioning Profile you were using to sign pre-Apple TestFlight builds.

在我切换到App Store分发设置配置文件之后,我继续遇到错误ITMS-90191 .我通过在Xcode项目中我目标的Entitlements.plist文件中另外添加beta-reports-active键来解决此问题.

I continued to hit Error ITMS-90191 after I switched to an App Store Distribution Provisioning Profile. I fixed the issue by additionally adding the beta-reports-active key to my Target's Entitlements.plist file in the Xcode project.

beta-reports-active键必须包含在供应配置文件" 目标的权利中.

The beta-reports-active key must be included in the Provisioning Profile AND the Target's entitlements.

TargetName.entitlements:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>

    // ...

    <key>beta-reports-active</key>
    <true/>

    // ...

</dict>
</plist>

在将权利添加到我的Target后,我可以在没有ITMS-90191警告的情况下将构建成功上载到iTunes Connect TestFlight:

After adding the entitlement to my Target, I'm able to successfully upload the build to iTunes Connect TestFlight without the ITMS-90191 warning:

这篇关于Apple TestFlight上传警告ITMS-90191:缺少"beta-reports-active"权利的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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