美文网首页
2023-01-09 提审警告

2023-01-09 提审警告

作者: 我是小胡胡分胡 | 来源:发表于2023-01-08 17:51 被阅读0次

    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 “xxx.app” bundle should contain a NSLocationAlwaysAndWhenInUseUsageDescription 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.

    After you’ve corrected the issues, you can upload a new binary to App Store Connect.

    解决方法: 添加一个key
    原来是3个,

     
        <key>NSLocationAlwaysUsageDescription</key>
        <string>若不允许,您将无法xxx</string>
        <key>NSLocationUsageDescription</key>
        <string>若不允许,您将无法xxx</string>
        <key>NSLocationWhenInUseUsageDescription</key>
        <string>若不允许,您将无法xxx</string>
    

    添加1个:

        <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
        <string>若不允许,您将无法xxx</string>
    

    相关文章

      网友评论

          本文标题:2023-01-09 提审警告

          本文链接:https://www.haomeiwen.com/subject/ogbucdtx.html