The Info.plist key ‘BGTaskSchedulerPermittedidentifiers‘ must contain a list of iden...

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 去掉重新打包就可以了

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值