xcode 如何修复“App Store Connect 操作错误 ITMS-90771”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/57927881/
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-15 11:00:49  来源:igfitidea点击:

How to fix "App Store Connect Operation ERROR ITMS-90771"

iosxcodeapp-store

提问by Mustafa Aljaburi

I'm trying to submit my app to TestFlight, but I keep getting this error.

我正在尝试将我的应用程序提交给 TestFlight,但我不断收到此错误。

enter image description here

在此处输入图片说明

and this is what I have in my info.plist

这就是我在我的 info.plist

enter image description here

在此处输入图片说明

How do I fix this?

我该如何解决?

回答by Bijender Singh Shekhawat

Add this in your info.plist and then resubmit your app

将此添加到您的 info.plist 中,然后重新提交您的应用

<key>BGTaskSchedulerPermittedIdentifiers</key>
    <array>
        <string>com.yourCompanyName.appName</string>
</array>

回答by Shreeram Bhat

As it says you need to add "BGTaskSchedulerPermittedIdentifiers" to your info.plist. You have turned on background task capabilities for your app but did not add corresponding identifiers.

正如它所说,您需要将“BGTaskSchedulerPermittedIdentifiers”添加到您的 info.plist。您为您的应用开启了后台任务功能,但没有添加相应的标识符。

  1. Goto your plist file. Hover over any item + button will be highlighted. Click on it add a new item.
  2. Copy and paste "BGTaskSchedulerPermittedIdentifiers" under Information Property List column. This will create an array in Type column.
  3. Click add button on the item you just created to add back ground task identifiers for the array.
  4. Note that it is recommended by apple to mention task back ground task identifier in reverse domain notation(com.something.name).
  1. 转到您的 plist 文件。将鼠标悬停在任何项目上 + 按钮将突出显示。单击它添加一个新项目。
  2. 在信息属性列表列下复制并粘贴“BGTaskSchedulerPermittedIdentifiers”。这将在 Type 列中创建一个数组。
  3. 单击刚刚创建的项目上的添加按钮,为阵列添加后台任务标识符。
  4. 请注意,苹果建议在反向域符号(com.something.name)中提及任务背景任务标识符。

At the end it will look like this,

最后会是这个样子

info plist image

信息 plist 图片

For more info you can refer this Apple doc.

有关更多信息,您可以参考此 Apple文档