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
How to fix "App Store Connect Operation ERROR ITMS-90771"
提问by Mustafa Aljaburi
回答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。您为您的应用开启了后台任务功能,但没有添加相应的标识符。
- Goto your plist file. Hover over any item + button will be highlighted. Click on it add a new item.
- Copy and paste "BGTaskSchedulerPermittedIdentifiers" under Information Property List column. This will create an array in Type column.
- Click add button on the item you just created to add back ground task identifiers for the array.
- Note that it is recommended by apple to mention task back ground task identifier in reverse domain notation(com.something.name).
- 转到您的 plist 文件。将鼠标悬停在任何项目上 + 按钮将突出显示。单击它添加一个新项目。
- 在信息属性列表列下复制并粘贴“BGTaskSchedulerPermittedIdentifiers”。这将在 Type 列中创建一个数组。
- 单击刚刚创建的项目上的添加按钮,为阵列添加后台任务标识符。
- 请注意,苹果建议在反向域符号(com.something.name)中提及任务背景任务标识符。
At the end it will look like this,
最后会是这个样子
For more info you can refer this Apple doc.
有关更多信息,您可以参考此 Apple文档。