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相关的东西,能帮忙看看是什么原因吗?有偿~
蔡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