1  Xcode 报错:This app has crashed because it attempted 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.

 

意思很明了: 复制这个 key 到 info.plist ,并添加描述 e.g: 使用相机  

iOS 用户的隐私数据-privacy-sensitive data

 

    其他的报错可能是,访问相册时、使用位置信息、通讯录时。

   根据报错提示,具体问题具体分析。

相关文章:

  • 2021-10-31
  • 2021-08-23
  • 2021-08-11
  • 2021-05-24
  • 2021-09-12
  • 2021-06-29
  • 2022-12-23
猜你喜欢
  • 2021-12-09
  • 2022-02-05
  • 2022-12-23
  • 2021-12-10
  • 2021-12-04
  • 2021-07-02
  • 2021-12-24
相关资源
相似解决方案