iOS Question (Solved) Missing Purpose String in Info.plist

f0raster0

Well-Known Member
Licensed User
Hello guys

I tried to upload my app today and I'm getting this error, email from Apple:

***********************************************
We identified one or more issues with a recent delivery for your app, "Remote Control" 1.0.0 (1.0.0). Please correct the following issues, then upload again.

ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data.
The app's Info.plist file should contain a NSBluetoothPeripheralUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
***********************************************

I have this in my code:

#PlistExtra: <key>NSBluetoothAlwaysUsageDescription</key><string>Bluetooth used to connect to our Audio Amplifier.</string>

and I'm using the libraries:
iBLE
iCore
iRandonAccessFile

Am I forgetting something?


Thank you
 

roumei

Active Member
Licensed User
You'll need to add a PlistExtra entry for NSBluetoothPeripheralUsageDescription.
B4X:
#PlistExtra:<key>NSBluetoothPeripheralUsageDescription</key><string> Bluetooth used to connect to our Audio Amplifier.</string>
 
Upvote 0

f0raster0

Well-Known Member
Licensed User
You'll need to add a PlistExtra entry for NSBluetoothPeripheralUsageDescription.
B4X:
#PlistExtra:<key>NSBluetoothPeripheralUsageDescription</key><string> Bluetooth used to connect to our Audio Amplifier.</string>
you are a genius!! you have just saved my life!!
 
Upvote 0
Top