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

 

 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: 使用相机  

 

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

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

posted @ 2017-01-06 09:07  wangwei_Carry  阅读(2845)  评论(0编辑  收藏  举报