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 “HBuilder.app” bundle should contain a NSLocationAlwaysUsageDescription 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.
该警告表明你的应用程序在代码中引用了一个或多个访问敏感用户数据的 API,或者应用程序具有一个或多个允许这种访问的权利。通常,这与隐私权限相关。
由于苹果从iOS 11开始更新了定位权限设置,因此需要根据你适配的系统版本来配置info.plist文件
定位(持续获取地理位置) NSLocationAlwaysUsageDescription :用于行车导航的路径规划
定位(在使用期间访问位置 ) NSLocationAlwaysAndWhenInUseUsageDescription :用于获取用户当前位置
定位(iOS11.3及以上版本) NSLocationWhenInUseUsageDescription