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

落日映苍穹つ 2024-05-03 14:46 108阅读 0赞

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中添加相关权限,例如:

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

第二步:

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

第三步:

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

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

NSAppleMusicUsageDescription

搜Media

MPMoviePlayerControllerMPMoviePlayerController

NSPhotoLibraryAddUsageDescription

UIImagePickerController

NSAppleMusicUsageDescription

搜music

NSCameraUsageDescription

UIImagePickerController

发表评论

表情:
评论列表 (有 0 条评论,108人围观)

还没有评论,来说两句吧...

相关阅读