ITMS-90683: Missing purpose string in Info.plist

Kim Strasser 1,261 Reputation points
2025-01-27T12:27:30.0233333+00:00

I got an email with this message from App Store Connect after uploading my new build to TestFlight.

ITMS-90683: Missing purpose string in Info.plist Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “MyGameiOS.app” bundle should contain a NSBluetoothAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. 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. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.

What is NSBluetoothAlwaysUsageDescription? I have entered the word Bluetooth in Visual Studio-->Search-->Code Search but I get no results. I cannot find Bluetooth in my code.

How can I solve this issue?

I changed the Linker behavior to Don´t Link before I uploaded my new build to TestFlight.

Screenshot 2025-01-27 113912

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,871 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 47,766 Reputation points Microsoft Vendor
    2025-01-28T02:06:18.89+00:00

    Hello,

    This problem should occur because some NugetPackage in your project declares Bluetooth permissions or references the iOS native library of CoreBluetooth.

    For this problem, you could resolve this warning by checking the references in the project or declaring this feature directly in the plist file.

    
    <key>NSBluetoothAlwaysUsageDescription</key>
    
    <string>We use Bluetooth to connect to the MantisX hardware device.</string>
    
    

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.