3***@qq.com
3***@qq.com
  • 发布:2025-03-13 16:40
  • 更新:2025-04-08 11:35
  • 阅读:1646

iOS上传警告,麦克风权限

分类:uni-app

We noticed one or more issues with a recent delivery for the following app:

ITMS-90738: Invalid purpose string value- The “” value for the NSMicrophoneUsageDescription key isn’t allowed in “HBuilder.app”. 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 NSMicrophoneUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.

2025-03-13 16:40 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

确认在manifest.json的“权限配置” -> “iOS隐私信息访问的许可描述” 中是否配置 “NSMicrophoneUsageDescription”

  • 有馬加奈

    似乎是最近更新到HBuilderX 4.56才发生的问题,以前都没有过要求写NSMicrophoneUsageDescription


    希望官方能排查一下

    2025-03-17 17:48

  • DCloud_App_Array

    回复 有馬加奈: 有没有使用chooseVideo或chooseMeida相关的功能,如果使用到了就需要配置NSMicrophoneUsageDescription ,把 ipa 也发出。

    2025-03-20 15:02

Jerry_Deng

Jerry_Deng

同样在4.56 版本遇到这个问题

Jerry_Deng

Jerry_Deng

Hbuilder X 回退到 4.45 没出现这个提示

云淡然

云淡然

同样的问题

要回复问题请先登录注册

  • 标题 / 粗斜体
  • 代码片段
  • 超链接 / 图片 / 视频
  • 列表 / 引用

文章内容较多时,可以用标题分段 :

## 大标题 
### 小标题

斜体 / 粗体 :

**粗体** 
*斜体*
***粗斜体***

代码片段 :

``` javascript
代码片段
```

超链接 :

[链接文字](链接地址) 例: [百度](http://www.baidu.com)

图片 :

![图片说明](图片地址) 例: ![百度logo](http://www.baidu.com/img/bdlogo.gif)

视频 :

!![视频说明](视频地址) 例: !![优酷视频](http://youku.com)

有序列表 :

1. 123
2. 123
3. 123

无序列表 :

- 123
- 123
- 123

引用 : ( 双回车后结束引用 )

> 引用内容
引用内容
引用内容