通过ffmpeg录制音频,调用avformat_open_input函数时,控制台输出
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSContactsUsageDescription key with a string value explaining to the user how the app uses this data.
意思是说:你需要在info.plist文件 添加一个“NSContactsUsageDescription ”的Key,Value添加一个描述。

1,在项目中找到info.plist文件,右击有个 Open As,以Source Code 的形式打开

2,分别复制 以下 Value 和Key,Key 一定不能错,Value 貌似可以随便填写
The app’s Info.plist must contain an NSMicrophoneUsageDescription key

相关文章:

  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2021-11-18
  • 2022-01-05
  • 2022-02-13
  • 2021-08-23
  • 2022-02-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-07-12
  • 2021-06-16
  • 2021-10-08
相关资源
相似解决方案