您的位置:首页 > 移动开发

升级macOS10 Xcode8后 APP提交不出现构建版本

2016-10-28 12:00 330 查看
报错信息:

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.

原因:类似这类的,说明你得info.plist缺少key  统计了一下 

根据需要加的一些字段列在下面:

NSContactsUsageDescription ->使用通讯录

NSMicrophoneUsageDescription ->
使用麦克风

NSPhotoLibraryUsageDescription ->
使用相册

NSCameraUsageDescription ->
使用相机

NSLocationAlwaysUsageDescription ->
使用位置服务

NSLocationWhenInUseUsageDescription ->
使用位置服务
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  iOS objective-c xcode app
相关文章推荐