【iOS开发】iOS10以后相机、相册等授权问题:The app’s Info.plist must contain an NSMicrophoneUsageDescription key
2016-12-16 16:33
543 查看
问题描述:
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.
授权码如下:
info.plist 里面添加对应的键值,记得 key 值一定要写,value可以随便写。
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可以随便写。
相关文章推荐
- iOS 10相机崩溃 The app's Info.plist must contain an NSCameraUsageDescription key with a string value
- The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaini
- iOS之报错The app's Info.plist must contain an xxx key with a string value explaining
- 【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
- iOS 10中info.plist 文件 Privacy - Camera Usage Description等
- iOS开发 iOS10访问权限的配置(解决访问奔溃问题,包括相册/相机等)
- iOS 10中info.plist 文件 Privacy - Camera Usage Description等
- the info.plist in the package must contain the CFBundleShortVersionString key.
- IOS开发之相机、相册页面英文问题
- iOS 上架app的过程当中出现the Info.plist is missing or could not be parsed.经历
- CFBundleVersion in the Info.plist file must contain a higher version than that of the previously upl
- iOS开发中使用相机或系统相册的一些问题总结(UIImagePickerController)
- XE7 提交 App(iOS 8)提示「does not contain the correct beta entitlement」问题修复
- iOS开发 info.plist设置app启动页面
- iOS 最新版本10以后info.plist增加了一些必须要添加的字段,添加完以后才可以通过审核。
- iOS 10 开发之权限Crash 相机相册等权限的使用、检测并引导用户开启权限
- CFBundleVersion in the Info.plist file must contain a higher version than that of the previously uploaded version.
- iOS 开发相机,相册权限问题,代码总结
- iOS开发问题---调试提示The certificate used to sign “appName” has either expired or has been revoked.