2023-01-09 提审警告
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>