1 Reply
      Latest reply on Aug 2, 2019 3:51 AM by navigator2
      Lathrey Level 1 Level 1 (0 points)

        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.