CoreBluetooth and External Accessory not working in iOS10
Asked Answered
I

2

6

I am using external hardware device using Bluetooth i getting this error and I am unable to get the permission of Bluetooth it is working until iOS9 but I don't no why this change affect in iOS10 ?

Error :

[CoreBluetooth] API MISUSE: has no restore identifier but the delegate implements the centralManager:willRestoreState: method. Restoring will not be supported

2016-09-17 Couldn't find the "com.apple.private.externalaccessory.showallaccessories" entitlement

enter image description here

Update :

I have seen this bug here https://forums.developer.apple.com/thread/61646

Inhibition answered 17/9, 2016 at 13:2 Comment(5)
I'm having a similar problem, including the message "Couldn't find the com.apple.private.externalaccessory.showallaccessories entitlement". Help would be greatly appreciated.Prettypretty
Same here, having the same issues, everything is enabled as shown in the question above. I'm not sure if this is a bug...Kennard
yes yet i didn't find any solutionInhibition
Do you find any solution?Lieu
@Lieu not yetInhibition
F
1

I had to whitelist all accessories, that I was planing to use in my application. It is done by adding 'protocol names' for each accessory to the info.plist. search for needed array type key for text 'Supported external accessory protocols' or add by key 'UISupportedExternalAccessoryProtocols'.

Once this is done, you should stop receiving this issue.

Flores answered 16/1, 2017 at 14:36 Comment(0)
S
2

In my case it worked when I enabled "Uses Bluettoth LE accessories".

Project -> Capabilities -> Background Modes -> Uses Bluetooth LE accessories.

Location of "Uses Bluetooth LE accessories"

Sinistrad answered 11/10, 2016 at 7:11 Comment(0)
F
1

I had to whitelist all accessories, that I was planing to use in my application. It is done by adding 'protocol names' for each accessory to the info.plist. search for needed array type key for text 'Supported external accessory protocols' or add by key 'UISupportedExternalAccessoryProtocols'.

Once this is done, you should stop receiving this issue.

Flores answered 16/1, 2017 at 14:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.