I have added privacy settings in info.plist
still it crashes. I don't why.
It says:
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.
Please note that I have already tried re-installing app. I am using iOS 10 Device no simulator.
You can try to reset the simulator and run again. It will work.
Delete NSMicrophoneUsageDescription
from plist
then run your application in device. Then delete the application from device. then add NSMicrophoneUsageDescription
in plist
and give description
to it(don't keep it empty, write some description!) and install again in device!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.