zoukankan      html  css  js  c++  java
  • 【转】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?在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>  

    这里写图片描述

  • 相关阅读:
    学习ESLint的规则配置,ESLint语法检测配置说明
    慎用Request.Params获取参数值
    [C#.NET 拾遗补漏]04:你必须知道的反射
    .NET Web应用中为什么要使用async/await异步编程
    Asp.Net Core Web Api 使用 Swagger 生成 api 说明文档
    网页打印尺寸设置
    Object 标签遮挡 Div 显示
    C# 之 批量插入数据到 SQLServer 中
    PrintDocument打印、预览、打印机设置和打印属性的方法
    JS 之 阻止事件冒泡,阻止默认事件,event.stopPropagation()和event.preventDefault(),return false的区别
  • 原文地址:https://www.cnblogs.com/wi100sh/p/6070077.html
Copyright © 2011-2022 走看看