This app has crashed because it attempted to access privacy-sensitive data without a usage description.  The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

 

意思是说:你需要在info.plist文件 添加一个“NSContactsUsageDescription ”的Key,Value添加一个描述。

 

 将下面的代码加入到info.plist里面

 

  <key>NSCameraUsageDescription</key>

    <string>cameraDesciption</string>

    <key>NSContactsUsageDescription</key>

    <string>contactsDesciption</string>

    <key>NSMicrophoneUsageDescription</key>

    <string>microphoneDesciption</string>

    <key>NSPhotoLibraryUsageDescription</key>

    <string>photoLibraryDesciption</string>

相关文章:

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