1、上传成功之后,但是在处理过程中失败
1.1 处理完成后,构建版本消失,我重复试了好几次但是还是失败,后来查看开发者账号邮件,邮件上说
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 NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
1.2 邮件的意思是必须在项目的info.plist文件中加入两个键值对
<key>NSCameraUsageDescription</key>
<string>cameraDesciption</string>
相机权限
<key>NSPhotoLibraryUsageDescription</key>
<string>photoLibraryDesciption</string>
相册权限
上面的cameraDesciption和photoLibraryDesciption可以随便添加自定义语句,没有格式要求
因为ios 10加入了对相机及相册的隐私访问,其他蓝牙等如果项目中有用到也必须相应的添加进去,这里不做一一介绍,加入此两个键值对之后,重新build,重新上传即可构建成功。如图添加完成后的info.plist文件