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