-->

Apple Store App Rejection - Support for external-a

2020-07-27 05:20发布

问题:

I recently had an app rejected by the store for the following reason:

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.

I have read through some answers of previous people who asked this question but I am unsure on my case. My app communicates with a HM10 Bluetooth Low Energy module by sending and receiving bytes.

In my info.plist I stated that the app uses CoreBluetooth and communicates with an accessory. Which part do I need to change to fix apples concern?

Also, do I need to become part of the MFI program to use this HM10 Bluetooth module? Thanks.

Here is is my info.plist, thanks!

Also - the background modes:

回答1:

  1. Don't add "External accessory communication", only select the 2 BG modes for Bluetooth.
  2. No need to join MFi program.

Then you'll be fine.