MuseStatsIos and showallaccessories entitlement


#1

I am attempting to get the demo app running on my iphone. It compiles and deploys, but does not seem to detect or connect to the headband. Poking the “Scan” link does nothing.

There is a console log error:

"MuseStatsIos[899:156280] Couldn’t find the “com.apple.private.externalaccessory.showallaccessories” entitlement

Thoughts?


#2

Edit your plist and add:
<key>UIBackgroundModes</key> <array> <string>external-accessory</string> <string>bluetooth-central</string> <string>bluetooth-peripheral</string> </array>

You should also add:
<key>NSBluetoothPeripheralUsageDescription</key> <string>Bluetooth permissions are required to connect to the Muse</string>