1***@qq.com
1***@qq.com
  • 发布:2025-04-03 14:52
  • 更新:2025-04-03 17:26
  • 阅读:387

打包后上架ios被提示NSMicrophoneUsageDescription没有描述

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: 正式

HBuilderX版本号: 4.57

手机系统: iOS

手机系统版本号: iOS 17

手机厂商: 苹果

手机机型: iphone 13

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

"ios" : {
"dSYMs" : false,
"pushRegisterMode" : "manual",
"urltypes" : "",
"urlschemewhitelist" : "",
"idfa" : false,
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "以图搜款功能需要读取从相册选择的图片作为识别对象",
"NSPhotoLibraryAddUsageDescription" : "用于用户保存图片到相册",
"NSCameraUsageDescription" : "以图搜款功能需要读取摄像头拍摄的图片作为识别对象"
}
},

操作步骤:

上架时被苹果提示

预期结果:

代码并没有获取麦克风的操作,不应该被提示

实际结果:

上架时被苹果提示

bug描述:

Hello,

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

0663批发网

App Apple ID6743422214

Version 1.0.8

Build 108

Although delivery was successful, you may want to correct the following issues in your next delivery. Once you've corrected the issues, upload a new binary to App Store Connect.

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.

Apple Developer Relations

 Contact UsApp Store ConnectOne Apple Park Way, Cupertino, CA 95014Privacy PolicyTerms of Service

2025-04-03 14:52 负责人:无 分享
已邀请:
DCloud_UNI_OttoJi

DCloud_UNI_OttoJi - 日常回复 uni-app/x 问题,如果艾特我没看到,请主动私信

参考 https://ask.dcloud.net.cn/question/206708

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

    谢谢,用到了uni.chooseVideo

    2025-04-03 17:35

要回复问题请先登录注册