报错信息:
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 -> 使用位置服务