Apple Store App Rejection - 支持 UIBackgroundModes 中的外部附件

Apple Store App Rejection - Support for external-accessory in the UIBackgroundModes

我最近有一个应用被商店拒绝,原因如下:

Our app declares support for external-accessory in the UIBackgroundModes key in your Info.plist file but does not declare any external accessory protocols supported by your app. The external accessory background mode is intended for apps that communicate with hardware accessories through the External Accessory framework.

我已经阅读了以前问过这个问题的人的一些回答,但我不确定我的情况。 我的应用程序通过发送和接收字节与 HM10 低功耗蓝牙模块通信。

在我的 info.plist 中,我声明该应用程序使用 CoreBluetooth 并与配件通信。我需要更改哪一部分来解决苹果问题?

另外,我需要成为MFI程序的一部分才能使用这个HM10蓝牙模块吗?谢谢

这是我的 info.plist,谢谢!

另外 - 背景模式:

  1. 不添加 "External accessory communication",只添加 select 蓝牙的 2 个 BG 模式。
  2. 无需加入 MFi 计划。

那你就没事了