Search code examples
iosxcodepermissionsxcode11

NSBluetoothAlwaysUsageDescription required, but bluetooth is not used


In my ios app with new Xcode 11 GM Seed 2 after deploy, apple returned error: ITMS-90683: Missing Purpose String in Info.plist with NSBluetoothAlwaysUsageDescription.

https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothalwaysusagedescription?language=objc readed.

The problem is that I don't use bluetooth in my app. Or maybe I don't know about it. How can I find out why this permission purpose is needed?

I'm not using CoreBluetooth.framework


Solution

  • I had this exact same issue today. When I did a grep search I found that there is some reference to CoreBluetooth.framework inside my project.pbxproj

    I removed the reference and building the app went fine. Uploaded to Apple and it got through so this worked for me.

    To search use the following command

    grep -r -a CoreBluetooth.framework ProjectFolder