欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

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

程序员文章站 2023-03-28 10:46:05
今天项目打包提交。收到了苹果的邮件。主要内容: this app attempts to access privacy-sensitive data without a usage descript...

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

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 打开复制以下你在应用中使用的隐私权限设置(描述自己修改)

 

    nsvideosubscriberaccountusagedescription
    
    nsbluetoothperipheralusagedescription
    蓝牙权限
    nsspeechrecognitionusagedescription
    语音识别权限
    nssiriusagedescription
    siri权限
    nsremindersusagedescription
    
    nsphotolibraryusagedescription
    相册权限
    ktccservicemedialibrary
    
    nsmotionusagedescription
    运动权限
    nsmicrophoneusagedescription
    麦克风权限
    nsapplemusicusagedescription
    音乐权限
    nslocationwheninuseusagedescription
    地理位置权限
    nslocationusagedescription
    地理位置权限
    nslocationalwaysusagedescription
    地理位置权限
    nshomekitusagedescription
    
    nshealthupdateusagedescription
    健康权限
    nshealthshareusagedescription
    健康权限
    nscontactsusagedescription
    通讯录权限
    nscamerausagedescription
    摄像头权限
    nscalendarsusagedescription
    日历权限