3 Replies
      Latest reply on Aug 22, 2019 10:46 AM by Gualtier Malde
      Lathrey Level 1 Level 1 (0 points)



        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.