【转】iOS10项目打包上传被拒关于隐私权限问题

原文网址:http://blog.csdn.net/yidu_blog/article/details/53064987

今天项目打包提交。收到了苹果的邮件。主要内容:

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.


This app attempts 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.


Once these issues have been corrected, you can then redeliver the corrected binary.

 

大概意思就是有需要设置的隐私权限没有设置

 

 

右击Info.plist文件 >Open As >Source Code 打开复制以下你在应用中使用的隐私权限设置(描述自己修改)

这里写图片描述

 

 

[html]  view plain  copy
 
 print?
  1. <key>NSVideoSubscriberAccountUsageDescriptionkey>  
  2. <string>string>  
  3. <key>NSBluetoothPeripheralUsageDescriptionkey>  
  4. <string>蓝牙权限string>  
  5. <key>NSSpeechRecognitionUsageDescriptionkey>  
  6. <string>语音识别权限string>  
  7. <key>NSSiriUsageDescriptionkey>  
  8. <string>Siri权限string>  
  9. <key>NSRemindersUsageDescriptionkey>  
  10. <string>string>  
  11. <key>NSPhotoLibraryUsageDescriptionkey>  
  12. <string>相册权限string>  
  13. <key>kTCCServiceMediaLibrarykey>  
  14. <string>string>  
  15. <key>NSMotionUsageDescriptionkey>  
  16. <string>运动权限string>  
  17. <key>NSMicrophoneUsageDescriptionkey>  
  18. <string>麦克风权限string>  
  19. <key>NSAppleMusicUsageDescriptionkey>  
  20. <string>音乐权限string>  
  21. <key>NSLocationWhenInUseUsageDescriptionkey>  
  22. <string>地理位置权限string>  
  23. <key>NSLocationUsageDescriptionkey>  
  24. <string>地理位置权限string>  
  25. <key>NSLocationAlwaysUsageDescriptionkey>  
  26. <string>地理位置权限string>  
  27. <key>NSHomeKitUsageDescriptionkey>  
  28. <string>string>  
  29. <key>NSHealthUpdateUsageDescriptionkey>  
  30. <string>健康权限string>  
  31. <key>NSHealthShareUsageDescriptionkey>  
  32. <string>健康权限string>  
  33. <key>NSContactsUsageDescriptionkey>  
  34. <string>通讯录权限string>  
  35. <key>NSCameraUsageDescriptionkey>  
  36. <string>摄像头权限string>  
  37. <key>NSCalendarsUsageDescriptionkey>  
  38. <string>日历权限string>  

 

 

 

这里写图片描述

你可能感兴趣的:(【转】iOS10项目打包上传被拒关于隐私权限问题)