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

时间:2023-03-08 19:46:19

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

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

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