NSBluetoothAlwaysUsageDescription required, but bluetooth is not used

Nik Kov picture Nik Kov · Sep 18, 2019 · Viewed 13.4k times · Source

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

Answer

Maurice picture Maurice · Sep 18, 2019

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