【iOS开发】iOS10以后相机、相册等授权问题:The app’s Info.plist must contain an NSMicrophoneUsageDescription key
来源:互联网 发布:淘宝上钻要多少销量 编辑:程序博客网 时间:2024/05/01 08:19
问题描述:
Xcode8 、iOS10 崩溃描述:The app’s Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
授权码如下:
<!-- 相册 --> <key>NSPhotoLibraryUsageDescription</key> <string>App需要您的同意,才能访问相册</string> <!-- 相机 --> <key>NSCameraUsageDescription</key> <string>App需要您的同意,才能访问相机</string> <!-- 麦克风 --> <key>NSMicrophoneUsageDescription</key> <string>App需要您的同意,才能访问麦克风</string> <!-- 位置 --> <key>NSLocationUsageDescription</key> <string>App需要您的同意,才能访问位置</string> <!-- 在使用期间访问位置 --> <key>NSLocationWhenInUseUsageDescription</key> <string>App需要您的同意,才能在使用期间访问位置</string> <!-- 始终访问位置 --> <key>NSLocationAlwaysUsageDescription</key> <string>App需要您的同意,才能始终访问位置</string> <!-- 日历 --> <key>NSCalendarsUsageDescription</key> <string>App需要您的同意,才能访问日历</string> <!-- 提醒事项 --> <key>NSRemindersUsageDescription</key> <string>App需要您的同意,才能访问提醒事项</string> <!-- 运动与健身 --> <key>NSMotionUsageDescription</key> <string>App需要您的同意,才能访问运动与健身</string> <!-- 健康更新 --> <key>NSHealthUpdateUsageDescription</key> <string>App需要您的同意,才能访问健康更新 </string> <!-- 健康分享 --> <key>NSHealthShareUsageDescription</key> <string>App需要您的同意,才能访问健康分享</string> <!-- 蓝牙 --> <key>NSBluetoothPeripheralUsageDescription</key> <string>App需要您的同意,才能访问蓝牙</string> <!-- 媒体资料库 --> <key>NSAppleMusicUsageDescription</key> <string>App需要您的同意,才能访问媒体资料库</string>
info.plist 里面添加对应的键值,记得 key 值一定要写,value可以随便写。
1 0
- 【iOS开发】iOS10以后相机、相册等授权问题:The app’s Info.plist must contain an NSMicrophoneUsageDescription key
- iOS 10相机崩溃 The app's Info.plist must contain an NSCameraUsageDescription key with a string value
- 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
- 【IPhone开发】This bundle is invalid.The key CFBundleVersion in the Info.plist file must contain a ...
- the info.plist in the package must contain the CFBundleShortVersinString key
- the info.plist in the package must contain the CFBundleShortVersionString key.
- iOS 解决iOS10相册、相机、麦克风等权限使用问题
- iOS中 iOS10 调用相机相册等权限崩溃问题
- iOS中 iOS10 相机相册等权限崩溃问题
- xcode8 iOS10上关于相册,相机,麦克风 等访问权限plist设置的问题
- ios10相机 相册等权限问题
- iOS开发 iOS10访问权限的配置(解决访问奔溃问题,包括相册/相机等)
- ios调用相机,info.plist
- ios10 关于app info.plist权限设置
- ios10 关于app info.plist权限设置
- iOS开发-解决iOS10相册相机闪退
- CFBundleVersion in Info.plist file must contain a higher version
- 记录一个简单包含mk的makefile
- Bootstrap—进度条progress-bar
- 应用层
- spring注解开发AnnotationConfigApplicationContext的使用
- NLog.config配置备份
- 【iOS开发】iOS10以后相机、相册等授权问题:The app’s Info.plist must contain an NSMicrophoneUsageDescription key
- Git 基本使用方法总结
- 金额小数点的一些校验
- idea 使用maven tomcat plugin 运行项目
- Linux下使用git命令及github项目
- android - EditText监听输入多少个字符
- Lesson 17: SDK文档:Tutorial 6 Lighting分析
- BootStrap--CSS组件-- 徽章(badge)
- 20161218-solr cloud 定时刷新数据 先开个坑已填