iOS之报错The app's Info.plist must contain an xxx key with a string value explaining
来源:互联网 发布:linux cp拷贝多个文件 编辑:程序博客网 时间:2024/05/21 19:42
最近升级了XCode 8 ,使用相机报错:
[access] This app has crashed because it attempted 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配置NSCameraUsageDescription
大概统计了一下需要加的一些字段列在下面:
NSContactsUsageDescription -> 通讯录
NSMicrophoneUsageDescription -> 麦克风
NSPhotoLibraryUsageDescription -> 相册
NSCameraUsageDescription -> 相机
NSLocationAlwaysUsageDescription -> 地理位置
NSLocationWhenInUseUsageDescription -> 地理位置
转自:http://blog.csdn.net/zp511253886/article/details/52584210
阅读全文
0 0
- iOS之报错The app's Info.plist must contain an xxx key with a string value explaining
- The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaini
- iOS 10相机崩溃 The app's Info.plist must contain an NSCameraUsageDescription key with a string value
- 【iOS开发】iOS10以后相机、相册等授权问题:The app’s Info.plist must contain an NSMicrophoneUsageDescription key
- 【IPhone开发】This bundle is invalid.The key CFBundleVersion in the Info.plist file must contain a ...
- 学习shiro代码报错:Line argument must contain a key and a value. Only one string token was found.
- 学习shiro代码报错:Line argument must contain a key and a value. Only one string token was found.
- the info.plist in the package must contain the CFBundleShortVersinString key
- the info.plist in the package must contain the CFBundleShortVersionString key.
- CFBundleVersion in Info.plist file must contain a higher version
- The value of attribute "description" associated with an element type "target" must not contain the '<' character.
- The value of attribute "title" associated with an element type "question" must not contain the '<' c
- CFBundleVersion in the Info.plist file must contain a higher version than that of the previously uploaded version.
- CFBundleVersion in the Info.plist file must contain a higher version than that of the previously upl
- CFBundleVersion in the Info.plist file must contain a higher version than that of the previously upl
- The value of CFBundleShortVersionString in your WatchKit app's Info.plist (1.0) does not match
- An App ID with Identifier 'XXX.XXX.XXX’ is not available. Please enter a different string
- iOS报错之this class is not key value coding-compliant for the key digitPressed.
- 跨应用之间的广播安全-示例
- Redis数据库--简介二
- Convert BST to Greater Tree
- git使用以及免密码登陆
- HEARTBEAT 原理 HA (high avalable)
- iOS之报错The app's Info.plist must contain an xxx key with a string value explaining
- 从setContentView开始,了解view的加载过程
- 第一个Kotlit Android项目
- android 深入activity
- swift学习错误处理流程
- JAVA学习之路(棒棒锤)
- 欢迎使用CSDN-markdown编辑器
- Range Minimum Query and Lowest Common Ancestor 区间最值查询和最近公共祖先问题
- c++第六次实验