【轉】iOS10項目打包上傳被拒關於隱私權限問題

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

今天項目打包提交。收到了蘋果的郵件。主要內容:app

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.ide

 

大概意思就是有須要設置的隱私權限沒有設置this

 

 

右擊Info.plist文件 >Open As >Source Code 打開復制如下你在應用中使用的隱私權限設置(描述本身修改)spa

這裏寫圖片描述

 

 

[html]  view plain  copy
 
 print?在CODE上查看代碼片派生到個人代碼片
  1. <key>NSVideoSubscriberAccountUsageDescription</key>  
  2. <string></string>  
  3. <key>NSBluetoothPeripheralUsageDescription</key>  
  4. <string>藍牙權限</string>  
  5. <key>NSSpeechRecognitionUsageDescription</key>  
  6. <string>語音識別權限</string>  
  7. <key>NSSiriUsageDescription</key>  
  8. <string>Siri權限</string>  
  9. <key>NSRemindersUsageDescription</key>  
  10. <string></string>  
  11. <key>NSPhotoLibraryUsageDescription</key>  
  12. <string>相冊權限</string>  
  13. <key>kTCCServiceMediaLibrary</key>  
  14. <string></string>  
  15. <key>NSMotionUsageDescription</key>  
  16. <string>運動權限</string>  
  17. <key>NSMicrophoneUsageDescription</key>  
  18. <string>麥克風權限</string>  
  19. <key>NSAppleMusicUsageDescription</key>  
  20. <string>音樂權限</string>  
  21. <key>NSLocationWhenInUseUsageDescription</key>  
  22. <string>地理位置權限</string>  
  23. <key>NSLocationUsageDescription</key>  
  24. <string>地理位置權限</string>  
  25. <key>NSLocationAlwaysUsageDescription</key>  
  26. <string>地理位置權限</string>  
  27. <key>NSHomeKitUsageDescription</key>  
  28. <string></string>  
  29. <key>NSHealthUpdateUsageDescription</key>  
  30. <string>健康權限</string>  
  31. <key>NSHealthShareUsageDescription</key>  
  32. <string>健康權限</string>  
  33. <key>NSContactsUsageDescription</key>  
  34. <string>通信錄權限</string>  
  35. <key>NSCameraUsageDescription</key>  
  36. <string>攝像頭權限</string>  
  37. <key>NSCalendarsUsageDescription</key>  
  38. <string>日曆權限</string>  

 

 

 

這裏寫圖片描述

相關文章
相關標籤/搜索