Swift:XCode8.3.3上传被驳回了- NSPhotoLibraryUsageDescription

前端之家收集整理的这篇文章主要介绍了Swift:XCode8.3.3上传被驳回了- NSPhotoLibraryUsageDescription前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Dear developer,

We have discovered one or more issues with your recent delivery for "Beacon". To process your delivery,the following issues must be corrected:

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain anNSPhotoLibraryUsageDescription 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



意思上在info.plist文件添加 NSPhotoLibraryUsageDescription key说明



  • NSContactsUsageDescription -> 通讯录

  • NSMicrophoneUsageDescription -> 麦克风

  • NSPhotoLibraryUsageDescription -> 相册

  • NSCameraUsageDescription -> 相机

  • NSLocationAlwaysUsageDescription -> 地理位置

  • NSLocationWhenInUseUsageDescription -> 地理位置

  • Privacy - Bluetooth Peripheral Usage Description -> 蓝牙权限

  • Privacy - Speech Recognition Usage Description -> 语音转文字权限

  • Privacy - Calendars Usage Description -> 日历权限

  • Privacy - Contacts Usage Description -> 通讯录权限

原文链接:https://www.f2er.com/swift/321527.html

猜你在找的Swift相关文章