d***@octaveinstitute.com
d***@octaveinstitute.com
  • 发布:2025-06-24 16:18
  • 更新:2025-06-24 17:46
  • 阅读:31

安心打包后上传 app store connect 报错

分类:uni-app

Validation failed (409)
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 NSHealthUpdateUsageDescription 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. (ID: 830498b4-b439-4445-ad76-c0d17b72fdaf)

Validation failed (409)
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 NSHealthShareUsageDescription 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. (ID: d35d29de-1496-47a0-99c2-a9233690a37d)

这是报的错。

权限配置里并没有配置这个东西,代码里也没用到Health相关的东西,能帮忙看看是什么原因吗?有偿~

2025-06-24 16:18 负责人:无 分享
已邀请:
蔡cai

蔡cai - 开发的插件:https://ask.dcloud.net.cn/article/41539

之前是正常的嘛?是的话是不是新加了什么插件导致的?

  • 蔡cai

    实在不行换传统打包试试呗

    2025-06-24 16:29

  • d***@octaveinstitute.com (作者)

    项目是完全建了一个空项目特地试了,也是会报这个 health,插件配置是空的,没用任何第三方插件。用传统打包的是可以的。就是安心打包不行,太膈应了。官方也不给解决一下 ? 这么大的 bug 都不管

    2025-06-24 16:37

  • 蔡cai

    回复 d***@octaveinstitute.com: 我帮你邀请几个官方过来看看

    2025-06-24 16:38

d***@octaveinstitute.com

d***@octaveinstitute.com (作者)

项目是完全建了一个空项目特地试了,也是会报这个 health,插件配置是空的,没用任何第三方插件。用传统打包的是可以的。就是安心打包不行,太膈应了。官方也不给解决一下 ? 这么大的 bug 都不管

d***@octaveinstitute.com

d***@octaveinstitute.com (作者)

原生插件也没用过

DCloud_App_Array

DCloud_App_Array

你的profile文件配置也会有影响的,确认profile对应的 BoundID 在苹果后台勾选的 能力项 是否包含健康相关。

要回复问题请先登录注册