k***@qq.com
k***@qq.com
  • 发布:2023-01-09 10:20
  • 更新:2023-01-09 10:49
  • 阅读:204

【报Bug】升级3.6.15后云端打包正式版,交付时,苹果返回警告邮件

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

PC开发环境操作系统版本号: 13.1

HBuilderX类型: 正式

HBuilderX版本号: 3.6.15

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iPhone 14 Pro

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

打包后,提交苹果市场,交付后邮件提醒

预期结果:

难道是哪个SDK要获取位置?

实际结果:

找不到问题所在

bug描述:

就是升级到3.6.15版本后,云端打正式版包,苹果有邮件提醒,说在APP在使用期间获取用户位置,需要说明解释为什么要这么做?可是我的APP没有勾选需要位置权限,也没有接入任何地图SDK,APP内就集成了个推SDK,和Uniapp官方统计SDK,之前的版本打包都没有这个提醒,现在收到这样的提醒,不知道是哪个SDK要获取位置,下面是苹果邮件内容:

Dear Developer,

We identified one or more issues with a recent delivery for your app, "XXXXX" 1.3.0 (130). Your delivery was successful, but you may wish to correct the following issues in your next delivery:

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 NSLocationWhenInUseUsageDescription 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.

Best regards,

The App Store Team

2023-01-09 10:20 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

请在manifest.json中补充对NSLocationWhenInUseUsageDescription隐私信息访问描述

要回复问题请先登录注册