今天在提交项目到iTunes时,遇到了上传成功后,找不到构建版本。收到的邮件:
Dear developer,
We have discovered one or more issues with your recent delivery for "***". To process your delivery, the following issues must be corrected:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
大概意思就是得在plist里面必须加上NSContactsUsageDescription、NSMicrophoneUsageDescription和NSCameraUsageDescription的键值对才行,之前都是默认的,现在必须加上,要不不让通过。
具体配置如下:
.
.
.
.
真的这么简单吗???!!!
更改、提交后还是同样的问题和邮件......
几经周折。。。知道原因:必须改了之后 Clean Xcode 再Bulid程序 再关掉Xcode重开才搞定