iOS10发版碰到的问题

发现自己确实不喜欢写东西,但是很多问题不记录的话,万一以后又碰到了怎么办?何况分享是个好习惯,这几年我也受益很多。好了话不多说希望自己能多坚持一段时间。
今天更新AppStore版本的时候突然发现上传的版本活动中显示正在处理,但是过一会后在活动构建版本中同时消失。。。。然后查看自己的邮件发现如下内容


    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.


好吧,这是iOS 10 增加了新的安全设定,主要是说NSPhotoLibraryUsageDescription NSMicrophoneUsageDescription,以及NSCameraUsageDescription需要在inf.plist文件里面设置

tmp35e322dc.png

然后再打包上传就OK了!
当然也可能有其他的授权

iOS10发版碰到的问题_第1张图片
tmp5f722cd8.png

你可能感兴趣的:(iOS10发版碰到的问题)