xcode 当我在试飞中添加用于内部测试的构建时,状态中缺少合规性。如何解决?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35841117/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 18:16:34  来源:igfitidea点击:

Missing Compliance in Status when i add built for internal testing in Test Flight.How to solve?

xcodeapp-store-connecttestflight

提问by Chandan Jee

When I added my latest build for internal testing with TestFlight, I saw that it had a "Missing Compliance" status.

当我使用 为内部测试添加最新版本时TestFlight,我看到它处于“缺少合规性”状态。

Is this a major problem? Why does this appear? How can I resolve this issue?

这是一个大问题吗?为什么会出现这个?我该如何解决这个问题?

enter image description here

在此处输入图片说明

回答by mokagio

Unless your app is using some special encryption you can simply add Boolean a key to your Info.plistwith name ITSAppUsesNonExemptEncryptionand value NO.

除非您的应用程序使用某种特殊加密,否则您可以简单地将 Boolean a 密钥添加到您Info.plist的 nameITSAppUsesNonExemptEncryption和 value NO

If your app is using custom encryption then you will need to provide extra legal documents and go through a review of your encryption before being able to select builds.

如果您的应用程序使用自定义加密,则您需要提供额外的法律文件并在能够选择构建之前通过对加密的。

If you continue with selecting that version for testing, it will ask for the compliance information manually. Choosing "No" presents you with the plist recommendation above.

如果您继续选择该版本进行测试,它将手动询问合规性信息。选择“否”会显示上面的 plist 建议。

iTunes Connect encryption export compliance alert for testing

用于测试的 iTunes Connect 加密出口合规警报

This is change has been announced in the 2015 WWDC, but I guess it has been enforced only very recently. See thisand thisfor a transcript of the WWDC session related to the export compliance, just to a text search for "export".

这是 2015 年 WWDC 中宣布的更改,但我想它是最近才实施的。有关出口合规性相关的 WWDC 会议记录,请参阅此内容,只需对“出口”进行文本搜索。

There are other similar questions on SO, see:

SO上还有其他类似的问题,请参阅:

回答by Kevin Cooper

There's no longer any need to submit a new build or modify Info.plist; instead, follow these steps using an Admin or App Manager account:

不再需要提交新的构建或修改Info.plist;相反,请使用 Admin 或 App Manager 帐户执行以下步骤:

  1. Go to the iOStab at the top left of TestFlight and click the yellow trianglenext to the warning to provide this information within iTunes Connect:
  1. 转到TestFlight 左上角的iOS选项卡,然后单击警告旁边的黄色三角形以在 iTunes Connect 中提供此信息:

enter image description here

在此处输入图片说明

  1. Click the "Provide Export Compliance Information" link in the popup:
  1. 单击弹出窗口中的“提供出口合规信息”链接:

Export Compliance Information

出口合规信息

Though, if you do choose to modify Info.plist, you'll never need to deal with this popup again.

但是,如果您确实选择修改Info.plist,则永远不需要再次处理此弹出窗口。

回答by Atul Yadav

Add following at the bottom of your Info.plist

在您的底部添加以下内容 Info.plist

<key>ITSAppUsesNonExemptEncryption</key>
<false/>

回答by Himanshu padia

In your Info.plist, Right click in the properties table, click Add Row, add key name App Uses Non-Exempt Encryptionwith Type Booleanand set value NO.

在您的Info.plist, 右键单击​​属性表,单击Add Row,添加键名App Uses Non-Exempt Encryption和类型Boolean并设置值NO

enter image description here

在此处输入图片说明

回答by Shaked Sayag

If your info.plist is shown as a property list (and not xml), the text you need to enter for the key is:
App Uses Non-Exempt Encryption

如果您的 info.plist 显示为属性列表(而不是 xml),则您需要为密钥输入的文本是:
App Uses Non-Exempt Encryption

回答by Mahendra Thotakura

If you are not using https in api calls, Please add this key "App Uses Non-Exempt Encryption" in your info.plist and set it to "NO"

如果您没有在 api 调用中使用 https,请在您的 info.plist 中添加此密钥“App Uses Non-Exempt Encryption”并将其设置为“NO”

回答by Maciek Czarnik

Additionally, if you can't see the "Provide Export Compliance Information" button make sure you have the right rolein your App Store Connect or talk to the right person (Account Holder, Admin, or App Manager).

此外,如果您看不到“提供出口合规信息”按钮,请确保您在 App Store Connect 中拥有正确的角色或与正确的人交谈(帐户持有人、管理员或应用程序经理)。