Post

Replies

Boosts

Views

Activity

How do I add 'com.apple.developer.bluetooth-central-background' entitlement for WatchOS?
Hello,I am trying to write a WatchOS app that runs as a Bluetooth central in the background. I added 'UIBackgroundModes' value 'bluetooth-central' but when I try to upload to TestFlight I get an error:"Missing entitlement. watchOS extension '<my app name>' uses 'UIBackgroundModes' value 'bluetooth-central' without the required entitlement 'com.apple.developer.bluetooth-central-background' signed into the bundle."I tried adding this entitlement manually as it wasn't in the available list but then XCode complains it can provision with that entitlement in there.Has anyone successfully made this work or does CoreBluetooth just not work in the background for WatchOS?Thank you for your time.
3
0
2.6k
Oct ’18