ITMS-90683: Missing Purpose String in Info.plist NSPhotoLibraryUsageDescription NSCameraUsageDescri

Dear Developer,

We identified one or more issues with a recent delivery for your app, "xxxx" 1.0 (1). Please correct the following issues, then upload again.

ITMS-90683: Missing Purpose String in Info.plist - Your app‘s code references one or more APIs that access sensitive user data. The app‘s Info.plist file should contain a NSPhotoLibraryUsageDescription 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

ITMS-90683: Missing Purpose String in Info.plist - Your app‘s code references one or more APIs that access sensitive user data. The app‘s Info.plist file should contain a NSCameraUsageDescription 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

Best regards,

The App Store Team

遇到这个问题不要慌,这个是infoplist文件中没有写入相关权限。

第一步:

如果你需要这个权限,就到info.plist中添加相关权限,例如:

<key>NSCameraUsageDescription</key>

<string>为了让您保存或修改图像视频等,需要开启相关权限。(参考写,写长一点,短了过不了审核)</string>

<key>NSMicrophoneUsageDescription</key>

<string>为了让您保存或修改图像视频等,需要开启相关权限。(参考写,写长一点,短了过不了审核)</string>

<key>NSPhotoLibraryAddUsageDescription</key>

<string>为了让您保存或修改图像视频等,需要开启相关权限。(参考写,写长一点,短了过不了审核)</string>

<key>NSPhotoLibraryUsageDescription</key>

<string>为了让您保存或修改图像视频等,需要开启相关权限。(参考写,写长一点,短了过不了审核)</string>

第二步:

如果你不需要这个权限,但是第三方SDK中又有,你也需要在上面把权限添加进去,但是可以和苹果审核解释一下,你没有用到这个权限,但是第三方依赖需要使用。巴拉巴拉

第三步:

如果你误用了这个权限,但是不知道在哪里,可以通过搜索以下关键词,进行剔除后,就可以不添加这个权限。

(不完全举例,欢迎留言添加)

NSAppleMusicUsageDescription

搜Media

MPMoviePlayerControllerMPMoviePlayerController

NSPhotoLibraryAddUsageDescription

UIImagePickerController

NSAppleMusicUsageDescription 

搜music

NSCameraUsageDescription

UIImagePickerController

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值