CoreBluetooth and an external accessory do not work in iOS10

I use an external hardware device using Bluetooth, I get this error, and I can’t get a Bluetooth resolution that works before iOS9, but I don’t understand why this change affects iOS10?

Error:

[FAULT] [CoreBluetooth] API: does not have a recovery identifier, but the delegate implements the centralManager: willRestoreState: method. Recovery not supported

2016-09-17 Failed to find the permissions "com.apple.private.externalaccessory.showallaccessories"

enter image description here

Update:

I saw this error here https://forums.developer.apple.com/thread/61646

+5
source share
2 answers

I had to list all the accessories that I planned to use in my application. This is done by adding the protocol names for each accessory to info.plist. search for the required array type for the text "Supported external accessory protocols" or add the key "UISupportedExternalAccessoryProtocols".

Once this is done, you should stop getting this problem.

+1
source

In my case, it worked when I turned on “Using Bluettoth LE Accessories”.

Project → Features → Background Modes → Uses Bluetooth LE Accessories.

Location "Uses Bluetooth LE Accessories"

+2
source

All Articles