iOS打包上架appstore报错:
Missing Info.plist value. The Info.plist key ‘BGTaskSchedulerPermittedIdentifiers’ must contain a list of identifiers used to submit and handle tasks when ‘UIBackgroundModes’ has a value of ‘processing’. For more information, refer to the Information Property List Key Reference at https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html. (ID: 9c699f20-2bf5-45f4-a901-24db921a4a9e)
错误是指该processing值,该值对应于“签名和功能”选项卡中的“背景处理”,或与Info.plist中的“应用程序在后台处理数据”。仅当您在应用程序中使用后台任务时才需要此功能,但是上面列出的所有库都不需要后台任务,因此这可能是由于自己的代码或其他第三方库所致。
网上说是要增加任务标识
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>com.yourcompany.yourapp.task1</string>
<string>com.yourcompany.yourapp.task2</string>
<!-- 其他任务ID -->
</array>
但是自己项目没必要后台保持增加任务标识,是开发功能时多勾选了此权限
最终解决方案:
将background processing 去掉重新打包就可以了