提交新项目,按照以往流程通过Application Loader 把ipa文件上传成功,但是构建版本和活动都不显示(等了2个小时),上网查了一下资料,我就查看了下公司邮箱,结果苹果发的邮件:
Dear developer,
We have discovered one or more issues with your recent delivery for "**". To process your delivery, the following issues must be corrected:
Missing Info.plist key - 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.
Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.
Missing Info.plist key - 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必须包含上面字符串的键值对向用户解释应用程序如何使用这些数据。找到原因、iOS10之后、苹果对app使用用户权限更严格
相应的配置上去,再次上传就可以了,配置如下(不用全部配置,根据需要即可):
麦克风权限:Privacy - Microphone Usage Description 是否允许此App使用你的麦克风?
- 相机权限: Privacy - Camera Usage Description 是否允许此App使用你的相机?
- 相册权限: Privacy - Photo Library Usage Description 是否允许此App访问你的媒体资料库?
- 通讯录权限: Privacy - Contacts Usage Description 是否允许此App访问你的通讯录?
- 蓝牙权限:Privacy - Bluetooth Peripheral Usage Description 是否许允此App使用蓝牙?
- 语音转文字权限:Privacy - Speech Recognition Usage Description 是否允许此App使用语音识别?
- 日历权限:Privacy - Calendars Usage Description 是否允许此App使用日历?
- 定位权限:Privacy - Location When In Use Usage Description 我们需要通过您的地理位置信息获取您周边的相关数据
- 定位权限: Privacy - Location Always Usage Description 我们需要通过您的地理位置信息获取您周边的相关数据
用了哪个就添加上、要不就会被拒!注意:: 这里是健值对,相应的value一定也要写上,否则还是还是会被拒!!!
文章引用:
http://www.jianshu.com/p/700c8976668b