关于xcode8.0隐私权限上传打包文件在构建版本不显示的问题
来源:互联网 发布:centos下lamp环境搭建 编辑:程序博客网 时间:2024/05/01 11:19
今天上线打包,收到了苹果的邮件,问题如下:
Dear developer,
We have discovered one or more issues with your recent delivery for "全民消费". To process your delivery, the following issues must be corrected:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription 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.
Regards,
The App Store team
意思就是隐私权限没设置描述:
UsageDescription相关的key, 描述字符串自己随意填写就可以,但是一定要填写,不然会引发包无效的问题,导致上传打包后构建版本一直不显示。
<!-- 相册 --> <key>NSPhotoLibraryUsageDescription</key> <string>App需要您的同意,才能访问相册</string> <!-- 相机 --> <key>NSCameraUsageDescription</key> <string>App需要您的同意,才能访问相机</string> <!-- 麦克风 --> <key>NSMicrophoneUsageDescription</key> <string>App需要您的同意,才能访问麦克风</string> <!-- 位置 --> <key>NSLocationUsageDescription</key> <string>App需要您的同意,才能访问位置</string> <!-- 在使用期间访问位置 --> <key>NSLocationWhenInUseUsageDescription</key> <string>App需要您的同意,才能在使用期间访问位置</string> <!-- 始终访问位置 --> <key>NSLocationAlwaysUsageDescription</key> <string>App需要您的同意,才能始终访问位置</string> <!-- 日历 --> <key>NSCalendarsUsageDescription</key> <string>App需要您的同意,才能访问日历</string> <!-- 提醒事项 --> <key>NSRemindersUsageDescription</key> <string>App需要您的同意,才能访问提醒事项</string> <!-- 运动与健身 --> <key>NSMotionUsageDescription</key> <string>App需要您的同意,才能访问运动与健身</string> <!-- 健康更新 --> <key>NSHealthUpdateUsageDescription</key> <string>App需要您的同意,才能访问健康更新 </string> <!-- 健康分享 --> <key>NSHealthShareUsageDescription</key> <string>App需要您的同意,才能访问健康分享</string> <!-- 蓝牙 --> <key>NSBluetoothPeripheralUsageDescription</key> <string>App需要您的同意,才能访问蓝牙</string> <!-- 媒体资料库 --> <key>NSAppleMusicUsageDescription</key> <string>App需要您的同意,才能访问媒体资料库</string>
如果不起作用,可以请求后台权限,类似于这样:
<key>UIBackgroundModes</key><array> <!-- 在这里写上你在后台模式下要使用权限对应的key --> <string>location</string>...</array>
0 0
- 关于xcode8.0隐私权限上传打包文件在构建版本不显示的问题
- Xcode8 打包上传构建版本不显示
- xcode8 iOS 10上传的包在构建版本不显示的问题
- Xcode8打包上传app,构建版本按钮不显示
- Xcode8打包上传app,构建版本按钮不显示
- xcode8打包ipa文件,上传成功,但是iTunes Connect不显示构建版本
- Xcode8打包以及上传代码不能构建版本问题
- xcode8 打包上传后无法构建版本问题
- iOS10项目打包上传被拒关于隐私权限问题
- iOS10项目打包上传被拒关于隐私权限问题
- Xcode项目打包上传被拒关于隐私权限问题
- iOS10项目打包上传被拒关于隐私权限问题
- Xcode8 打包上传构建版本无效解决办法
- Xcode8 打包上传AppStore无法构建版本
- iOS10,Xcode8上传AppStore的时候,显示构建版本无效
- Xcode8 打包上传 构建文件消失
- [iOS]APP打包上传后在构建版本中不显示
- [iOS]APP打包上传后在构建版本中不显示
- Ubuntu安装微信教程 超简单的
- 交换两个整型变量的值
- 英语口语收集(三十三)
- 十五周—插入字符串
- Struts2国际化和文件上传
- 关于xcode8.0隐私权限上传打包文件在构建版本不显示的问题
- c++的异常机制
- Java入门第一季
- MySQL视图
- 英语口语收集(三十四)
- 提问的艺术
- JAVA设计模式之创建者模式
- openstack网络(二)
- 1622-5 孔富晨 总结《2016年12月10日》 【连续第71天总结】