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

本文介绍了在iOS开发过程中遇到App Store提交审核时因缺少隐私权限描述而被拒的情况。通过在Info.plist文件中添加必要的权限描述,如蓝牙、相机等,可以解决这一问题,确保应用符合苹果的隐私政策要求。
摘要由CSDN通过智能技术生成

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

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>  
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值