2***@qq.com
2***@qq.com
  • 发布:2024-04-08 17:22
  • 更新:2024-04-22 11:50
  • 阅读:440

【报Bug】ITMS-91053: Missing API declaration

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

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

HBuilderX类型: 正式

HBuilderX版本号: 3.99

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: iphoneX

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

提交apple store复现

预期结果:

提交apple store不发生告警

实际结果:

提交apple store有告警产生

bug描述:

今天打包上传app store后,收到了以下的告警:
Although submission for App Store review was successful, you may want to correct the following issues in your next submission for App Store review. Once you've corrected the issues, upload a new binary to App Store Connect.

ITMS-91053: Missing API declaration - Your app’s code in the “HBuilder” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryUserDefaults. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

ITMS-91053: Missing API declaration - Your app’s code in the “HBuilder” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryFileTimestamp. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

Apple Developer Relations

想知道这两个NSPrivacyAccessedAPICategoryFileTimestamp,NSPrivacyAccessedAPICategoryUserDefaults权限是在哪里使用的,我的应用中没有请求过这两个权限。是否是其他插件导致的?该怎么解决这个警告。文中有说从5月1号开始,您必须在应用程序的隐私清单中包括NSPrivacyAccessedAPITypes数组,以提供应用程序代码使用这些API的批准原因。所以请尽快解决这个问题。

2024-04-08 17:22 负责人:无 分享
已邀请:
l***@163.com

l***@163.com - lixin

我的打包也是这个问题

1***@qq.com

1***@qq.com

没用其它插件,也提示这个,有人知道怎么解决吗

滚滚向前

滚滚向前

马上到5月1号了,官方还没有方案吗?

  • 2***@qq.com (作者)

    https://ask.dcloud.net.cn/article/40963 看这个说hbuilderx更新到4.08版本,解决了。但是下面评论说还是有这个问题。我还没有更新4.08 不知道具体情况

    2024-04-26 10:50

  • 滚滚向前

    回复 2***@qq.com: 我也是升级到4.0.8了,但是还是报。不过是报1个了;


    ITMS-91053: Missing API declaration - Your app’s code in the “HBuilder” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategorySystemBootTime. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.

    2024-04-29 09:15

要回复问题请先登录注册