Your app declares support for bluetooth-central and bluetooth-peripheral in the UIBackgroundModes

该博客指出,您的iOS应用在Info.plist中声明了蓝牙中央和周边模式以及后台位置更新支持,但实际并未提供相应的功能。苹果要求应用如果声明这些后台模式,必须使用CoreBluetooth框架实现蓝牙低能耗通信,或持续使用实时定位更新。为解决此问题,您需要更新应用以添加符合规定的蓝牙或定位功能,或者删除不使用的后台模式设置。建议根据应用需求选择使用显著变化位置服务或区域监测位置服务。
摘要由CSDN通过智能技术生成

Your app declares support for bluetooth-central and bluetooth-peripheral in the UIBackgroundModes key in your Info.plist but does not provide Bluetooth Low Energy functionality. The Bluetooth Background modes are for apps that communicate to other devices using Bluetooth Low Energy and the Core Bluetooth framework.

Specifically, we could not locate your app’s Background Bluetooth feature. Please make sure to press the Home Button to show the background mode in use(i.e. when users did not use the app and users can hear the sound) if you want to submit a demo video to show this feature.

Next Steps

To resolve this issue, please revise your app to add support for Bluetooth Low Energy communication through Core Bluetooth in your app or remove the bluetooth- values from the UIBackgroundModes key.

在这里插入图片描述

去掉 。。。

Guideline 2.5.4 - Performance - Software Requirements

Your app declares support for location in the UIBackgroundModes key in your Info.plist file but does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location.

Specifically, we could not locate your app’s Background Location feature. Please make sure to press the Home Button to show the background mode in use(i.e. when users did not use the app and users can use the location) if you want to submit a demo video to show this feature.

Next Steps

To resolve this issue, please revise your app to include features that require the persistent use of real-time location updates while the app is in the background.

If your app does not require persistent real-time location updates, please remove the “location” setting from the UIBackgroundModes key. You may wish to use the significant-change location service or the region monitoring location service if persistent real-time location updates are not required for your app features.

在这里插入图片描述
去掉

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值