iOS10应用程序已崩溃,因为它试图访问隐私敏感数据
问题描述:
当我尝试打开摄像机时,我的应用程序崩溃。它是好的,当它打开相机,但是当我切换从图像视频我得到这个错误:iOS10应用程序已崩溃,因为它试图访问隐私敏感数据
[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 NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
我发现这个奇怪的,因为我已经在我的plist文件添加的权限。
<key>NSCameraUsageDescription</key>
<string>Camera is used to make pictures when creating a job</string>
谢谢!这就说得通了。有效 – Oya