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
A message that tells the user why the app is requesting the ability to connect to Bluetooth peripherals. For apps with a deployment target of iOS 13 and later, use NSBluetoothAlwaysUsageDescription instead.
For deployment targets earlier than iOS 13, add both NSBluetoothAlwaysUsageDescription and NSBluetoothPeripheralUsageDescription to your app’s Information Property List file. Devices running earlier versions of iOS rely on NSBluetoothPeripheralUsageDescription, while devices running later versions rely on NSBluetoothAlwaysUsageDescription.
A message that tells the user why the app needs access to Bluetooth. This key is required if your app uses the device’s Bluetooth interface. If your app has a deployment target earlier than iOS 13, add the NSBluetoothPeripheralUsageDescription key to your app’s Information Property List file in addition to this key.
This key is required if your app uses APIs that access Bluetooth peripherals and has a deployment target earlier than iOS 13. A message that tells the user why the app needs access to Bluetooth.
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
Open your Info.plist and add a NSBluetoothAlwaysUsageDescription
. You can do this in the editor by adding a line item like this:
Or you can right click on the Info.plist and Open As -> Source Code and paste in the two appropriate lines as xml:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
....
<key>NSBluetoothPeripheralUsageDescription</key>
<string>We use Bluetooth to connect to the MantisX hardware device.</string>
....
</dict>
</plist>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With