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

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

 <key>NSVideoSubscriberAccountUsageDescription</key>  
 <string></string>  
 <key>NSBluetoothPeripheralUsageDescription</key>  
 <string>蓝牙权限</string>  
 <key>NSSpeechRecognitionUsageDescription</key>  
 <string>语音识别权限</string>  
 <key>NSSiriUsageDescription</key>  
 <string>Siri权限</string>  
 <key>NSRemindersUsageDescription</key>  
 <string></string>  
 <key>NSPhotoLibraryUsageDescription</key>  
 <string>相册权限</string>  
 <key>kTCCServiceMediaLibrary</key>  
 <string></string>  
 <key>NSMotionUsageDescription</key>  
 <string>运动权限</string>  
 <key>NSMicrophoneUsageDescription</key>  
 <string>麦克风权限</string>  
 <key>NSAppleMusicUsageDescription</key>  
 <string>音乐权限</string>  
 <key>NSLocationWhenInUseUsageDescription</key>  
 <string>地理位置权限</string>  
 <key>NSLocationUsageDescription</key>  
 <string>地理位置权限</string>  
 <key>NSLocationAlwaysUsageDescription</key>  
 <string>地理位置权限</string>  
 <key>NSHomeKitUsageDescription</key>  
 <string></string>  
 <key>NSHealthUpdateUsageDescription</key>  
 <string>健康权限</string>  
 <key>NSHealthShareUsageDescription</key>  
 <string>健康权限</string>  
 <key>NSContactsUsageDescription</key>  
 <string>通讯录权限</string>  
 <key>NSCameraUsageDescription</key>  
 <string>摄像头权限</string>  
 <key>NSCalendarsUsageDescription</key>  
 <string>日历权限</string>  
20160921170648473-1.png
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容